- An Azure app registration in Microsoft Entra ID.
- FalkorDB Enterprise OAuth settings, stored in Admin Settings and Kubernetes Secrets.
Prerequisites
- FalkorDB Enterprise is installed and the Admin UI is reachable.
- You can sign in as an admin with the
settings.updatepermission. - You know the public URL users use to reach the Admin UI, for example
https://admin.example.com. - You can create or update an app registration in Microsoft Entra ID.
- For group-based role mapping, you can grant Microsoft Graph application permissions and admin consent.
Create the Azure app registration
- Open the Microsoft Entra admin center.
- Go to Identity > Applications > App registrations.
- Select New registration.
- Enter a name, for example
FalkorDB Enterprise Admin. - Choose the supported account type for your organization.
- Under Redirect URI, choose Web and add:
https://admin.example.com with the public Admin UI origin for your installation.
- Save the app registration.
- Copy the Application (client) ID and Directory (tenant) ID.
- Open Certificates & secrets and create a new client secret.
- Copy the client secret value immediately. Azure shows it only once.
Configure API permissions
For basic login, the app needs delegated Microsoft Graph permissions:
For group-based role mapping, add Microsoft Graph application permissions and grant admin consent:
After adding permissions, select Grant admin consent for the tenant.
Configure Azure AD in the Admin UI
- Sign in to the Admin UI as an admin.
- Open System Settings.
- Open OAuth / SSO.
- Expand the Azure AD provider card.
- Fill in the Azure OAuth fields:
- Configure sign-in policy fields as needed:
- Select Save Settings.
client_id, tenant_id, redirect_uri, and client_secret_secret_ref in Admin Settings. The client secret itself is written to the referenced Kubernetes Secret under the client_secret key.
Configure with the API
You can also configure Azure AD OAuth through the settings API. Authenticate as an admin first, then send aPATCH request to /api/settings/.
Configure with Kubernetes Secrets and ConfigMap
Create the OAuth client secret:settings.json document by hand.
Configure with environment variables
Azure AD OAuth can also be configured with Admin Server environment variables. This is useful for local development or simple deployments:Configure with Helm
For Helm-based deployments, set the Azure values on install or upgrade:Test the login flow
Start the OAuth flow from a browser:Rotate the client secret
To rotate the Azure client secret:- Create a new client secret in the Azure app registration.
- Open System Settings > OAuth / SSO.
- Expand Azure AD.
- Keep the same Secret reference or enter a new Secret name.
- Paste the new value in Azure Client Secret.
- Select Save Settings.