Skip to content

Sign In with Entra ID

Entra ID Microsoft Azure OAuth enterprise SSO authentication provider Active Directory
  1. Visit the Azure Portal and create an account if needed.
  2. Navigate to “Microsoft Entra ID”.
  3. Under “Manage”, select “App Registrations”.
  4. Click ”+ New Registration” and fill out the form:
    • Name: Choose a descriptive name
    • Supported Account Type: Select based on your needs
    • Redirect URI: Choose “Web” and enter your Auth service’s callback URL (e.g., https://<subdomain>.auth.<region>.nhost.run/v1/signin/provider/azuread/callback)
    • Click “Register”
  1. Copy the “Application (client) ID” for later use.
  2. Create a new client secret:
    • Click “Add a certificate or secret”
    • Select “New client secret”
    • Set a description and expiration time
    • Copy the secret’s “Value” (not the ID)
  1. Go to your project’s settings -> Sign In Methods.
  2. Find Entra ID, enable it, and enter the client ID and secret.
  3. Save your changes.

Once you’ve configured Entra ID as an OAuth provider in Nhost, you can sign in users using the Entra ID provider. See the OAuth Provider Sign-In Guide for detailed implementation instructions including the complete OAuth flow, error handling, and session management.