Microsoft Entra ID
This short tutorial shows how to set up Flow's OIDC login provider with Microsoft Entra ID. Users from the Microsoft Entra ID tenant then should be able to log in Flow.
Prerequisites
This tutorial assumes the following setup:
- A provisioned Flow server with a valid licence and reachable web interface
- Azure account with permissions to create an "App registration" within the Microsoft Entra ID tenant
Configuration
- Sign in to the Microsoft Entra admin center and ensure you are in the tenant in which you want to register the Flow application.
- Browse to Entra ID > App registrations and select New registration.
- Enter a meaningful Name for the app. This is for your reference and users can see this name.
- Under Supported account types, select who can use the application. We recommend Single tenant only - <your tenant>.
- For Redirect URI select Web in the dropdown as platform (application type) and enter the correct redirect URI.
- Select Register to complete the app registration.
- Note down the Application (client) ID. You will need it later to configure Flow.
- Select Certificates & secrets > Client secrets > New client secret.
- Add a description for the secret for your internal reference.
- Select an expiration for the secret. You need to make sure that you issue a new secret and update it in the Flow configuration before it expires.
- Select Add.
- Record the client secret Value for configuration in Flow. This secret value is never displayed again after you leave the page.
Grant admin consent
If user consent for applications is disabled or restricted, an administrator must grant consent for the newly created application. Without this consent, users cannot log in to Flow and instead see a prompt indicating that administrator approval is required.
- Browse to Entra ID → Enterprise applications → All applications.
- Search for the Flow application you created and select it from the results.
- Under Security in the left-hand navigation, select Permissions.
- Select Grant admin consent. This opens a consent prompt listing all requested permissions.
- Select Accept to grant tenant-wide admin consent.
For reference also consult the official guides from Microsoft: