@ -103,6 +103,21 @@ The Authorization callback URL should be `$NEXTAUTH_URL/api/auth/callback/azure-
|
||||
| AZURE_AD_CLIENT_SECRET | -- | Application client secret. Can be obtained from Azure Portal. |
|
||||
| AZURE_AD_TENANT_ID | -- | Azure Tenant ID |
|
||||
|
||||
## Custom OAuth Provider (Auth)
|
||||
|
||||
| Parameter | Default | Description |
|
||||
| ------------------------------ | ------------ | ----------------------------------------------------------------------- |
|
||||
| CUSTOM_OAUTH_NAME | Custom OAuth | Provider name. Is displayed in the sign in form. |
|
||||
| CUSTOM_OAUTH_AUTHORIZATION_URL | -- | OAuth autorization URL (i.e. `https://kauth.kakao.com/oauth/authorize`) |
|
||||
| CUSTOM_OAUTH_TOKEN_URL | -- | OAuth token URL (i.e. `https://kauth.kakao.com/oauth/token`) |
|
||||
| CUSTOM_OAUTH_USERINFO_URL | -- | User info URL (i.e. `https://kapi.kakao.com/v2/user/me`) |
|
||||
| CUSTOM_OAUTH_USER_ID_PATH | id | Used to map the id from the user info object |
|
||||
| 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 |
|
||||
|
||||
For `*_PATH` parameters, you can use dot notation to access nested properties (i.e. `account.name`).
|
||||
|
||||
## S3 Storage (Media uploads)
|
||||
|
||||
Used for uploading images, videos, etc... It can be any S3 compatible object storage service (Minio, Digital Oceans Space, AWS S3...)
|
||||
|
Reference in New Issue
Block a user