add slack as example
This commit is contained in:
parent
62b34bbef0
commit
f066be6d23
13
README.md
13
README.md
|
@ -28,6 +28,8 @@ Note: Plugin folder is case-sensitive.
|
|||
Configuration
|
||||
-------------
|
||||
|
||||
> **Note:** Also works with most OpenID Providers
|
||||
|
||||
Go to the application settings > integrations > OAuth2 Authentication.
|
||||
|
||||
### 1) Create a new application on the OAuth2 provider
|
||||
|
@ -94,3 +96,14 @@ Example for Gitea:
|
|||
- **Name Key**: `name`
|
||||
- **Email Key**: `email`
|
||||
- **User ID Key**: `sub`
|
||||
|
||||
Example for Slack:
|
||||
|
||||
- **Authorize URL**: `https://slack.com/openid/connect/authorize`
|
||||
- **Token URL**: `https://slack.com/api/openid.connect.token`
|
||||
- **User API URL**: `https://slack.com/api/openid.connect.userInfo`
|
||||
- **Scopes**: `openid profile email`
|
||||
- **Username Key**: `name`
|
||||
- **Name Key**: `name`
|
||||
- **Email Key**: `email`
|
||||
- **User ID Key**: `sub`
|
||||
|
|
Loading…
Reference in New Issue