Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh SSO AccessToken if first attempt errors out #281

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

synfinatic
Copy link
Owner

For some reason our SSO AccessTokens are being marked as invalid
by AWS SSO API and so the sso.GetAccounts() and sso.GetRoles()
calls should try force reauthenticating once to AWS SSO in order to get a
new AccessToken for these calls.

Refs: #279

@synfinatic synfinatic force-pushed the expired-session-token branch 2 times, most recently from 982b829 to 486b16c Compare February 5, 2022 18:39
For some reason our SSO AccessTokens are being marked as invalid
by AWS SSO API and so the sso.GetAccounts() and sso.GetRoles()
calls should try force reauthenticating once to AWS SSO in order to get a
new AccessToken for these calls.

Fixes: #279
@synfinatic synfinatic force-pushed the expired-session-token branch from 486b16c to 8ff2a3a Compare February 5, 2022 18:42
@synfinatic synfinatic merged commit ad954f0 into main Feb 5, 2022
@synfinatic synfinatic deleted the expired-session-token branch February 5, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant