To-do list for setting up SSO
Setting up SSO includes creating the Azure AD and Keycloak Applications. This article describes Azure AD part, for the Keycloack - reach out to your Corti Customer Success.
Creating the Azure AD Application
- Log into Microsoft Azure.
- Go to Azure Active Directory
- Select “Enterprise Applications” on the left sidebar:
- Click “New Application” on the top bar:
- Click “Create your own application” on the top bar:
- Select “Register an application to integrate with Azure AD” and provide a name, and select “Create”:
- For “Supported account types” select “Accounts in this organization only” and provide the Redirect URI. The Redirect URI has the format:
“https://keycloak.${ENVIRONMENT_NAME}.corti.live/realms/${ENVIRONMENT_NAME}/broker/oidc/endpoint” - If it does not take you to the newly created application, go back to the “Enterprise Applications” stage (step 3) and select the newly created application from the list.
- Once inside your application, select “Single sign-on” from the left sidebar:
- Click “Go to application” inside the “Configure application properties” box:
- Then select “API permissions” from the left sidebar:
- Click “Add a permission”:
- Select “Microsoft Graph” on the sidebar that pops out:
- Select “Delegated permissions”
- Select “email”, “openid”, and “profile” from the “OpenId permissions” section, then click “Add Permissions”
- Now let’s create a client secret to be able to securely connect Keycloak & Azure AD. Start by selecting “Certificates & secrets” from the left sidebar:
- Click “New client secret”
- Enter a descriptive name and set an expiry period:
- A secret will be created. Copy this and put it in a safe place (1password preferably).
NOTE: YOU WILL NOT BE ABLE TO GET THIS VALUE FROM AZURE AD EVER AGAIN, SO MAKE SURE TO SAVE IT.
20. Make sure to note down the following two values from the “Overview” page:
-
- Application (client) ID
- Directory (tenant) ID
Creating the Keycloak Application
Reach out to your Corti Customer Success to configure this step.