Authentication
Azure SSO
Learn how to configure Azure SSO in Quivr.
To enable Azure (Microsoft) Auth for your project, you need to set up an Azure OAuth application and add the application credentials to your Supabase Dashboard.
Overview
Setting up OAuth with Azure consists of four broad steps:
- Create an OAuth application under Azure Entra ID.
- Add a secret to the application.
- Add the Supabase Auth callback URL to the allowlist in the OAuth application in Azure.
- Configure the client ID and secret of the OAuth application within the Supabase Auth dashboard.
Access your Azure Developer account
- Go to portal.azure.com.
- Login and select Microsoft Entra ID under the list of Azure Services.
Register an application
- Under Microsoft Entra ID, select App registrations in the side panel and select New registration.
- Choose a name and select your preferred option for the supported account types.
- Specify a Web Redirect URI. It should look like this:
https://<project-ref>.supabase.co/auth/v1/callback
- Finally, select Register at the bottom of the screen.
Obtain a client ID and secret
- Once your app has been registered, the client ID can be found under the list of app registrations under the column titled Application (client) ID. You can also find it in the app overview screen.
- Place the Client ID in the Azure configuration screen in the Supabase Auth dashboard.
Add a certificate or secret
- Select Add a certificate or secret in the app overview screen and open the Client secrets tab.
- Select New client secret to create a new client secret.
- Choose a preferred expiry time of the secret. Make sure you record this in your calendar days in advance so you have enough time to create a new one without suffering from any downtime.
- Once the secret is generated, place the Value column (not Secret ID) in the Azure configuration screen in the Supabase Auth dashboard.
Self Hosted Setup
When self-hosting, you need to set the following variables in your config.toml
file in supabase.
https://supabase.com/docs/guides/local-development/cli/config#auth-config
Was this page helpful?