Set up Entra ID
- Visit the Azure Portal and create an account if needed.
 - Navigate to “Microsoft Entra ID”.
 - Under “Manage”, select “App Registrations”.
 - 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”
 
 
Find the Redirect URL in your project settings -> Sign In Methods after enabling Entra ID
- Copy the “Application (client) ID” for later use.
 - 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)
 
 
Configure Nhost
- Go to your project’s settings -> Sign In Methods.
 - Find Entra ID, enable it, and enter the client ID and secret.
 - Save your changes.
 
User Sign-In
Use the Nhost JavaScript client to sign in users:To use your own domain for the callback URL refer to the custom domains documentation.