You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okta authorization is not including expected additionalScopes. This was supposedly fixed in earlier releases for some PRs and issues, but I think something was missed.
Hmm, looks like the Okta passport strategy that we're using is ignoring the provided scopes. Adding in param.scope = options.scope there fixes the issue. I think this is something that's probably best fixed upstream in the passport provider.
robbat2
added a commit
to robbat2/passport-okta-oauth
that referenced
this issue
Dec 6, 2024
📜 Description
Okta authorization is not including expected additionalScopes. This was supposedly fixed in earlier releases for some PRs and issues, but I think something was missed.
#24875
#24743
👍 Expected behavior
Okta authorize request should have included additionalScopes.
👎 Actual Behavior with Screenshots
Okta authorize request does not include additionalScopes; following the login debugging, the browser is sent via:
👟 Reproduction steps
https://(redacted)/api/auth/okta/start?env=production
# production should match the provider auth env.📃 Provide the context for the Bug.
Trying to consume the groups additional scope data to make internal business decisions.
🖥️ Your Environment
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: