Search Results :

×

Discord Single Sign-On (SSO) | Discord OAuth & OpenID connect SSO Login


Prestashop OAuth Client module allows you to perform secure Single Sign-On (SSO) into your Prestashop store using Discord as OAuth provider. Configure Prestashop OAuth Client for user authentication which verifies the identity of a user attempting to gain access to Prestashop with Discord Login. Prestashop OAuth Client Single Sign-On (SSO) module also configures custom providers and standard IDPs. It supports advanced Single Sign-On (SSO) features such as user profile Attribute mapping, Role mapping, etc. Here we will go through a guide to set up Prestashop OAuth Client with Discord login credentials. Adding Discord OAuth & OpenID connect Single Sign-On (SSO) to Prestashop lets your users quickly and securely log in to your Prestashop store with Discord login without having to remember a username and password.

Pre-requisites: Download And Installation

You need to download and install the miniOrange OAuth Client plugin to set up Single Sign-On with your Prestashop Store.

Steps to configure Discord OAuth Login with Prestashop

1. Setup Discord as OAuth Provider

  • Log in to Discord Console & click on New Application.

  • New Application | Discord OAuth & OpenID Single Sign-On (SSO)
  • After clicking on the New Application button it will show you the popup for providing a name to the application. Click on the Create button after providing the application name.

  • Application Name | Discord OAuth & OpenID Single Sign-On (SSO)
  • Navigate to the OAuth2 section. Copy Client ID & Client Secret.

  • Client ID and Secret
  • Click on the Add Redirect button, Copy the Callback URL from the module from the Prestashop OAuth Client plugin and paste it in the Redirects field. Click on the Save changes.

  • Add Callback URL | Discord OAuth & OpenID Single Sign-On (SSO) Callback URL | Discord OAuth & OpenID Single Sign-On (SSO) Save Changes | Discord OAuth & OpenID Single Sign-On (SSO)
  • Click on Learn more about OAuth2 and you will be redirected to a page where you will find Base authorization URL and Token URL which will act as your OAuth Redirect callback and OAuth Token endpoint.

  • OAuth Endpoints | Discord OAuth & OpenID Single Sign-On (SSO) OAuth Endpoints | Discord OAuth & OpenID Single Sign-On (SSO)

    You have successfully configured Discord as OAuth Provider into your Prestashop Store.

2. Setup Prestashop as OAuth Client

  • Go to the OAuth Client section in the module and enter the following details:
  • Discord OAuth Endpoints and Scope:


    OAuth Client ID Enter the value copied from Discord in the previous steps
    OAuth Client Secret Enter the value copied from Discord in the previous steps
    OAuth Scope identify email
    OAuth Redirect callback Enter the value copied from Discord
    OAuth Token endpoint Enter the value copied from Discord
    OAuth user info endpoint https://discord.com/api/users/@me

  • Click on Save to save the configuration.

3. Testing SSO

  • Once you Save the configuration, click on Test Configuration to test the SSO. You will see the following attributes sent from your Discord Application:
  • Testing SSO | Discord OAuth & OpenID Single Sign-On (SSO)

    4. Attribute Mapping

    • User Attribute Mapping is mandatory for enabling users to successfully login into Prestashop.
    • Once you receive the User attributes from the Test Configuration window, enter the following fields in the Attribute Mapping section of the module:
    • First Name given_name
      Last Name family_name
      Username username
      Email email
      Attibute Mapping | Discord OAuth & OpenID Single Sign-On (SSO)
    • Click on Save.

    You've successfully configured Prestashop as OAuth Client to securely gain access to the Prestashop store with Discord OAuth & OpenID connect sign-in. Prestashop OAuth Client module improves the Prestashop login process for user authentication.

    Additional Resources



    We offer Secure Identity Solutions for Single Sign-On, Two Factor Authentication, Adaptive MFA, Provisioning, and much more. Please contact us at

     +1 978 658 9387 (US) | +91 97178 45846 (India)   samlsupport@xecurify.com

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

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

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

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