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
When i set up my demo according the doc. i met access denied. When i debug it, i found i must set UserAuthorizationHandler.
My question is, when i sent authorization request to get code in oauth2 authorization code flow like the following code, there is no user info in url. So why must set UserAuthorizationHandler? What is userId for here?
For authorization code flow, it need to know which user is granting permission to third-party application, since the user is already logged in at this point, you need to implement the UserAuthorizationHandler to retrieve and return the authenticated user.
To run the broken demo in the readme, you can add some dummy code as below:
When i set up my demo according the doc. i met access denied. When i debug it, i found i must set UserAuthorizationHandler.
My question is, when i sent authorization request to get code in oauth2 authorization code flow like the following code, there is no user info in url. So why must set UserAuthorizationHandler? What is userId for here?
The text was updated successfully, but these errors were encountered: