Support specifying custom OAuth scope (#619)
For OpenID connect over OAuth, at least `openid profile` need to be set there, but since the email is also used, the `email` scope will instruct the OpenID provider to also deliver that. --------- Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
This commit is contained in:
@ -123,6 +123,7 @@ The Authorization callback URL should be `$NEXTAUTH_URL/api/auth/callback/azure-
|
||||
| CUSTOM_OAUTH_USER_NAME_PATH | name | Used to map the name from the user info object |
|
||||
| CUSTOM_OAUTH_USER_EMAIL_PATH | email | Used to map the email from the user info object |
|
||||
| CUSTOM_OAUTH_USER_IMAGE_PATH | image | Used to map the image from the user info object |
|
||||
| CUSTOM_OAUTH_SCOPE | openid profile email | OAuth scope |
|
||||
|
||||
For `*_PATH` parameters, you can use dot notation to access nested properties (i.e. `account.name`).
|
||||
|
||||
|
Reference in New Issue
Block a user