AI Gateway is now available: identity-aware access to any AI provider, eliminate API keys, and tunnel to self-hosted models. Get started

Identity Providers

Azure Entra ID

Configure Azure Entra ID Single Sign-On

Azure SSO is only available on Pangolin Cloud and Enterprise Edition deployments. In Enterprise Edition, you must set app.identity_provider_mode: "org" in your private config file privateConfig.yml.

The following steps will integrate Microsoft SSO using the built in Azure Entra ID identity provider in Pangolin.

How to create and set up an App Registration in Microsoft Azure from scratch

Create an App Registration

In Azure, go to "Microsoft Entra ID". Under "Manage", click "App registrations". On the "All applications" tab, select "Register an application".

Give it a name like "Pangolin", select your preferred supported account types, and click "Register". Leave the redirect URI blank for now; we will come back to this.

Copy Credentials

On the new app registration, select the "Overview" tab. Here, you can copy the "Application (client) ID" and save for later.

Now we need to generate the client secret. Click "Add a certificate or secret". Then click "New client secret". Enter a description like "Pangolin credentials" and choose an expiration time. Note that once this secret expires, you will need to generate a new one and replace it in the Pangolin dashboard for the associated IdP.

Copy the "Value" field and save for later.

We will revisit the Authorised redirect URIs field later, as we do not have Pangolin set up for Azure yet.

Creating an Azure Entra ID IdP in Pangolin

In Pangolin, go to "Identity Providers" and click "Add Identity Provider". Select the Azure Entra ID provider option.

Azure Entra ID identity provider setup in the Pangolin dashboard

In the OAuth2/OIDC Configuration, you'll need the following fields:

Client IDstringrequired

The application (client) ID from the "Overview" section of your app registration

Client Secretstringrequired

The client secret value from the "Certificates and secrets" section of your app registration

Token Configuration

When you're done, click "Create Identity Provider". Then, copy the Redirect URL in the "General" tab as you will now need this for your app registration.

Returning to Azure

Lastly, you'll need to return to your app registration in order to add the redirect URI created by Pangolin. On the "Overview" tab, click "Add a Redirect URI". The click "Add a platform", and select "Web". Here, you can add the redirect URL from Pangolin and click "Configure". Your configuration should now be complete. You'll now need to add an external user to Pangolin, or if you have "Auto Provision Users" enabled, you can now log in using Azure SSO.

Was this page helpful?

⌘I

On this page