Configure MSAL sign-in for the mobile app
Set up Microsoft Authentication Library (MSAL) sign-in so employees can access the Employee Hub mobile app through the Microsoft platform broker, such as Microsoft Authenticator or Company Portal. Use MSAL for organizations that require Microsoft Intune or Conditional Access enrollment on mobile devices.
note
MSAL sign-in applies to the Employee Hub mobile app. SAML SSO continues to handle browser sign-in for the web Employee Hub.
Register the MSAL application in Microsoft Entra ID
- In Microsoft Azure, open Microsoft Entra ID.
- In the left menu, select App registrations.
- Click New registration.
- Enter an app name, such as
flair Hub MSAL. - Click Register. Azure creates the registration and shows its Application (client) ID and Directory (tenant) ID.
- Copy the Application (client) ID and Directory (tenant) ID. You enter both in flair.

Add flair's redirect URIs to the app registration
The mobile app uses a different fixed redirect URI on each platform:
| Platform | Redirect URI |
|---|---|
| iOS/macOS | msauth.hr.flair.employee-hub://auth |
| Android | msauth://hr.flair.employeehub/fEvcYu6H%2FUwtRD%2FgbcT9%2BPplE1A%3D |
- In the Microsoft Entra ID app registration, open Authentication.
- Add
msauth.hr.flair.employee-hub://authas an iOS/macOS platform redirect URI. - Add
msauth://hr.flair.employeehub/fEvcYu6H%2FUwtRD%2FgbcT9%2BPplE1A%3Das an Android platform redirect URI. - Click Save.

Add the MSAL configuration to flair
- In the flair HR app, open the App Launcher (⋮⋮ grid icon).
- Open Hub SAML Configurations.
- Click New.
- Enter a Name, such as
Microsoft MSAL. - Select Enabled.
- In Type, enter
MSAL. - In MSAL Client Id, enter the Application (client) ID from Microsoft Entra ID.
- In MSAL Tenant Id, enter the Directory (tenant) ID from Microsoft Entra ID.
- In MSAL Redirect URI (Android), enter
msauth://hr.flair.employeehub/fEvcYu6H%2FUwtRD%2FgbcT9%2BPplE1A%3D. - In MSAL Redirect URI (Ios), enter
msauth.hr.flair.employee-hub://auth. - Optional: If your Salesforce org runs multiple Employee Hubs, set Hub to limit this login option to one Hub. Leave Hub empty to show it on every Hub.
- Click Save.
