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: ensure openid is included in custom scopes #992

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

dphilipson
Copy link
Contributor

@dphilipson dphilipson commented Sep 30, 2024

PR-Codex overview

This PR introduces a new function to ensure the openid scope is included in the OAuth flow, enhancing compliance with the OIDC protocol.

Detailed summary

  • Added a new function addOpenIdIfAbsent to check and prepend openid to the provided scope if it is missing.
  • Updated the assignment of scope to use the new addOpenIdIfAbsent function when providedScope is available.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 7:15am
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 30, 2024 7:15am

@dphilipson dphilipson merged commit 2492e47 into main Sep 30, 2024
6 checks passed
@dphilipson dphilipson deleted the dp/ensure-openid-scope branch September 30, 2024 19:52
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