Merge pull request #144 from Semihal/custom-claims-for-oauth

Doc for custom OpenID claims
This commit is contained in:
Timothy Jaeryang Baek 2024-07-04 00:50:40 -07:00 committed by GitHub
commit 5ab7f4aa00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -663,6 +663,16 @@ Query: [query]
- Default: `False`
- Description: If enabled, merges OAuth accounts with existing accounts using the same email address. This is considered unsafe as providers may not verify email addresses and can lead account takeovers.
#### `OAUTH_USERNAME_CLAIM`
- Default: `name`
- Description: Set username claim for OpenID.
#### `OAUTH_PICTURE_CLAIM`
- Default: `picture`
- Description: Set picture (avatar) claim for OpenID.
#### `GOOGLE_CLIENT_ID`
- Description: Sets the client ID for Google OAuth