Skip to content

fix(auth): improve IdC connection lifespan - #3501

Merged
justinmk3 merged 5 commits into
masterfrom
sijaden/sso-fix
May 26, 2023
Merged

justinmk3 merged 5 commits into
masterfrom
sijaden/sso-fix

Conversation

@JadenSimon

Copy link
Copy Markdown
Contributor

Problem

Networking issues cause connections to appear invalidated because we can't refresh the access token. But the refresh token may still be valid.

Solution

Assume that the connection is still valid if we see a networking issue. Callers will receive an exception when attempting to fetch a token without an internet connection.

License

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@JadenSimon
JadenSimon requested a review from a team as a code owner May 26, 2023 18:02
@justinmk3
justinmk3 merged commit ecd0eea into master May 26, 2023
@justinmk3
justinmk3 deleted the sijaden/sso-fix branch May 26, 2023 20:15
leigaol pushed a commit to leigaol/aws-toolkit-vscode that referenced this pull request Jun 13, 2023
Problem:
Networking issues cause connections to appear invalidated because we can't refresh the access token.
But the refresh token may still be valid.

Solution:
Assume that the connection is still valid if we see a networking issue.
Callers will receive an exception when attempting to fetch a token without an internet connection.
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.

2 participants