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

fix(auth): enforce 5 scopes when reauthing amazon q #5015

Merged
merged 2 commits into from
May 17, 2024

Conversation

hayemaxi
Copy link
Contributor

Problem: Users can keep an old 3 scope connection if they continue to reauth with the notification once auth expires.

Solution: Any call to the amazon q's reauth function enforces 5 scopes, which will fix the reauth notification.

  • Does NOT update the case where user reauths an amazon q connection via toolkit quickpick. That is more difficult.

License

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

Problem: Users can keep an old 3 scope connection if they continue to reauth with the notification once auth expires.

Solution: Any call to the amazon q's reauth function enforces 5 scopes, which will fix the reauth notification.

- Does NOT update the case where user reauths an amazon q connection via toolkit quickpick. That is more difficult.
@hayemaxi hayemaxi marked this pull request as ready for review May 17, 2024 15:40
@hayemaxi hayemaxi requested review from a team as code owners May 17, 2024 15:40
@hayemaxi hayemaxi merged commit d233b70 into aws:master May 17, 2024
14 checks passed
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.

None yet

2 participants