1.4.0 • Published 1 year ago
@logto/connector-discord v1.4.0
Discord OAuth2 Connector
The Discord connector provides a way for your application to use Discord as an authorization system.
Table of contents
Register a developer application
- Visit Discord Developer Portal and sign in with your Discord account.
- Click the New Application button to create an application, choose a name for it (Ex: LogtoAuth), tick the box and click Create.
- Go to OAuth2 page and click Reset Secret
- Take note of the CLIENT ID and CLIENT SECRET fields
- Add the valid redirects (Ex:
http://auth.mycompany.io/callback/${connector_id}). Theconnector_idcan be found on the top bar of the Logto Admin Console connector details page.
Configure Logto
Config types
| Name | Type |
|---|---|
| clientId | string |
| clientSecret | string |
| scope | string |
clientId
clientId is the CLIENT ID field we saved earlier.
(You can find it in the Oauth2 Page in Discord Developer Portal.)
clientSecret
clientSecret is the CLIENT SECRET we saved earlier.
(If you've lost it you need to click Reset Secret)
scope
scope is the permissions granted by the user's authorization. The default value is identify email.
You can see the full list of scopes here.
1.4.0
1 year ago
1.3.1
1 year ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.1
2 years ago
1.1.0
3 years ago
1.0.0
3 years ago
1.0.0-beta.22
3 years ago
1.0.0-beta.20
3 years ago
1.0.0-beta.21
3 years ago
1.0.0-beta.19
3 years ago
1.0.0-beta.17
3 years ago
1.0.0-beta.18
3 years ago
1.0.0-beta.11
3 years ago
1.0.0-beta.12
3 years ago
1.0.0-beta.15
3 years ago
1.0.0-beta.16
3 years ago
1.0.0-beta.10
3 years ago
1.0.0-beta.9
3 years ago
1.0.0-beta.4
3 years ago