Hello there!

Need Help? We are right here!

Support Icon
miniOrange Email Support
success

Thanks for your Enquiry. Our team will soon reach out to you.

If you don't hear from us within 24 hours, please feel free to send a follow-up email to info@xecurify.com

Search Results:

×

Configure Discord as OAuth IDP for SSO


miniOrange Identity Broker service solution enables cross protocol authentication. You can configure Discord as an IDP for Single Sign-On (SSO) into your applications/websites. Here, Discord will act as an Identity Provider (IDP) and miniOrange will act as a broker.

We offer a pre-built solution for integrating with Discord, making it easier and quick to implement. Our team can also help you set up Discord as OIDC IDP to login into your applications.


Get Free Installation Help


miniOrange offers free help through a consultation call with our System Engineers to configure SSO for different apps using Azure AD as IDP in your environment with 30-day free trial.

For this, you need to just send us an email at idpsupport@xecurify.com to book a slot and we'll help you in no time.



Prerequisites

Please make sure your organisation branding is already set under Customization >> Login and Registration Branding in the left menu of the dashboard.


Follow the Step-by-Step Guide given below for Discord Single Sign-On (SSO)

1. Configure miniOrange as Service Provider (SP) in Discord

  • Log in to Discord Console & click on New Application
  • Discord SSO login (Create App)

  • After clicking on the New Application button on Discord portal it will show you the popup for providing a name to the application. Click on the Create button after providing the application name.
  • Navigate to the Oauth2 section. Copy Client ID & Client Secret from Discord console.
  • Discord Single sign-on login (Oauth2)

  • To get the Redirect URL:
    • Go to miniOrange Admin Console.
    • From the left navigation bar select Identity Provider.
    • discord sso: Select and Add Identity Provider

    • Copy the Callback URL as Redirect URL required for next step.
    • discord sso: Select OAuth

  • Back in the Discord dashboard, navigate to the OAuth2 section & Add Redirect button for adding the callback URL and click on the Save button.
  • Discord SSO login: Redirect URL

2. Configure Discord as OAuth 2.0 Provider in miniOrange.

  • Go to miniOrange Admin Console.
  • From the left navigation bar select Identity Providers >> Add Identity Provider. Select OAuth 2.0.
  • Discord as IDP: Select and Add Identity Provider

    Discord as IDP: Select OAuth

  • Enter the following values.
  • IdP Name Custom Provider
    IdP Display Name Choose appropriate Name
    OAuth Authorize Endpoint https://discordapp.com/api/oauth2/authorize
    OAuth Access Token Endpoint https://discordapp.com/api/oauth2/token
    OAuth Get User Info Endpoint (optional) https://discordapp.com/api/users/@me
    Client ID From step 1
    Client secret From step 1
    Scope identify email

3. Test Connection

  • Visit your Login Page URL.
  • Go to Identity Providers tab.
  • Click on Select >> Test Connection option against the Identity Provider (IDP) you configured.
  • Discord-IDP-TestConnection

  • On entering valid Discord credentials (credentials of user assigned to app created in Discord), you will see a pop-up window which is shown in the below screen.
  • SucessTestConn-Discord-IDP

  • Hence your configuration of Discord as IDP in miniOrange is successfully completed.

Note:

You can follow this guide, if you want to configure SAML/WS-FED, OAuth/OIDC, JWT, Radius etc


Configure Attribute Mapping

  • Go to Identity Providers >> View Identity Providers >> Your configured Discord as IdP.
  • Now click on Select and then Configure Attribute Mapping of your application.
  • Discord Single Sign-On SSO Select and Configure Attribute Mapping

  • Under Attribute Type - EXTERNAL for the external attributes that need to be transformed and sent to applications or service providers.
  • Click on the + Add Attribute button to add the attribute fields.
  • Discord Single Sign-On SSO Map External Attribute

  • Check attributes in test connection window from last step. Enter the attribute names (any name) that you want to send to your application under Attribute Name sent to SP.
  • Enter the value of attributes that are coming from IdP into the Attribute Name from IdP field on the Xecurify side.

Configure Multiple IDPs:

You can follow this guide, if you want to configure multiple IDPs (Identity Providers) and give users the option to select the IDP of their choice to authenticate with.


External References

Want To Schedule A Demo?

Request a Demo
  



Our Other Identity & Access Management Products