Skip to content

How does Oauth scopes affect the authentication/authentication flow #1056

Answered by peterMuriuki
peterMuriuki asked this question in Q&A
Discussion options

You must be logged in to vote

My Findings:

We use 2-layered protocol for the full authorization/authentication flow, Oauth2 which handles authentication and OpenId for user authorization.

https://auth0.com/docs/get-started/apis/scopes/openid-connect-scopes

OpenID Connect (OIDC) scopes are used by an application during Authorization to authorize access to a user's details, like name and picture.

The scopes an application should request depend on which user attributes the application needs

The userinfo endpoint is a way to get openId standard claims, which can also alternatively be extracted from a JWT token.

Refer here to see the claims will be returned given the default openId scopes

What does this mean for us:
We…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by machariamuguku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant