![]() You will need to set Client authentication method to Request body (client_secret_post), as Discord expects the client_secret in the request body of the authentication request.Īdditionally, you will need to update the Unique Id Claim field to id (from the standard claim of sub) under the Options tab. Userinfo endpoint - will need to specify the scopes identify and email in the Scope field for your application.This value should match the one you configured in your Discord application.ĭiscord has not implemented a well-known configuration endpoint, so you will need to disable the Discover endpoints field and specify the endpoints manually. The Redirect URL is read only and generated for you based upon the URL of FusionAuth. Client Id and Client secret values reference the previously noted Discord Application’s CLIENT ID and CLIENT SECRET. This will take you to the Add OpenID Connect screen, and you’ll fill out the required fields. To create a Discord Identity Provider return to FusionAuth and navigate to Settings -> Identity Providers and click Add OpenID Connect. Configure a New FusionAuth OpenID Connect Identity Provider If FusionAuth is running at, this value should be. ![]() Here we have configured a REDIRECT for our application. Now navigate to Selected App -> Settings -> OAuth2 in the navigation pane on the left side of the screen to configure OAuth2 for your Discord app. These will be used respectively as the Client Id value and the Client secret value in your FusionAuth OpenID Connect Identity Provider configuration. Once the application has been created, note the CLIENT ID and the CLIENT SECRET. Once logged in, navigate to and create a new application. You will first need to log in to Discord. See Discord - OAuth2 for an additional reference. Once you have completed this configuration you may enable an OpenID Connect “Login with Discord” button for one or more FusionAuth Applications. Lifecycle / authenticate users / identity providers / gaming OpenID Connect with Discord Configure OpenID Connect with Discord
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |