Note : Current SSO configuration in BCC supports OAuth/OIDC Protocol.
SSO Configuration in BCC
1. Accessing SSO Setup Form in BCC
-
Log in to the BCC to access your brand account.
- Navigate to the Setup Single Sign On (SSO) under Settings.
2. Entering Required Details into BCC form for SSO Setup
Go to your Auth0 application
- Go to your Auth0 application (https://manage.auth0.com/) → Settings → Basic information in order to fill out the details required for SSO setup form in BCC.
Primary Details
Step-01: Enter the CTA Display Name (The name displayed on the CTA button for SSO).’ Step-02: Get your Client ID (The unique identifier for your application) from AuthO application settings and enter it into the form for SSO setup in BCC.Do you have an OpenID Connect (OIDC) discovery endpoint
- Do you have an OpenID Connect (OIDC) discovery endpoint configured with your application under Auth0?
Yes, OIDC is configured
—> Yes, OIDC is configured as a discovery endpoint. 1: Turn the radio button to “Yes” under BCC.Note : You can also add any extra static query params you want after the Open ID configuration URL.
- In order to see the list of permissions to set as scopes, copy paste the OpenID Configuration URL in the browser and you can check under the “scopes_supported” key.
No, OIDC is not configured
—> No, OIDC is not configured as a discovery 1: Turn the radio button to “No”Note : You can also add any extra static query params you want after the OAuth Authorization URL. For e.g. : “o2v=2”
Optional: You can add extra Authorization Endpoint Query Params (dynamic params). For e.g. : state
Note : You can also add any extra static query params you want after the OAuth Token URL.
Optional: You can add extra Token Endpoint Body Params (dynamic params). For e.g. : “callbackurl”
User Info. Mapping
1: Go to your Auth0 application (https://manage.auth0.com/) → Settings → Advanced Settings → Endpoints → Oauth- You can also add multiple key-value pairs for user info mapping. Other keys supported under BCC SSO Setup form are as follows;
- Age
- Bio
- Birthdate
- Country code
- Gender
- Is mobile verified
- Mobile
Note : If you have a nested key under the response for your user info. you can also add the “value” as for e.g. : “data.data.id” (based on your nested json for user info.)
Entering Callback URLs
- Allowed Callback URLs are a list of specific URLs (provided by Genuin) where Auth0 will redirect a user after they successfully authenticate, essentially acting as the designated endpoint for your application to receive the authentication details following a login process.
- It is necessary for your application to know how to continue the user on their journey.
- Go to your Auth0 application (https://manage.auth0.com/) → Settings → Application URLs → Allowed Callback URLs
Enter the URLs comma-separated.
- For QA Environment: (For Testing)
- For Production Environment:
-
Save and Test
- After filling the form for SSO Setup under BCC and the allowed callback urls under Auth0, save and test the user journey for login/signup.