add slack as example

This commit is contained in:
Nicco 2022-11-17 17:55:38 +01:00 committed by Frédéric Guillot
parent 62b34bbef0
commit f066be6d23
1 changed files with 13 additions and 0 deletions

View File

@ -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`