How does Oauth scopes affect the authentication/authentication flow #1056
-
we use Oauth2 for authorization. The authorization server is keycloak which as expected has support for different scopes which can be used during authentication. Example of these scopes include How do these scopes affect the authentication/authorization flow. Authorization in this sense encompasses all requests that the logged in users would make or rather all interactions they would have with resources stored on both the resource and authorization server, for the duration of the session in which they are authenticated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
My Findings: We use 2-layered protocol for the full authorization/authentication flow, https://auth0.com/docs/get-started/apis/scopes/openid-connect-scopes
The Refer here to see the claims will be returned given the default openId scopes What does this mean for us:
Furthermore it seems we can use custom scopes to define access privileges to other resources stored on resource servers. This would tie in well with work we are doing to integrate Role based access but is out of scope for this discussion and phase of development. |
Beta Was this translation helpful? Give feedback.
My Findings:
We use 2-layered protocol for the full authorization/authentication flow,
Oauth2
which handles authentication andOpenId
for user authorization.https://auth0.com/docs/get-started/apis/scopes/openid-connect-scopes
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…