Microsoft Authentication
Allow users to sign in with their Microsoft accounts using OAuth 2.0.How It Works
- User clicks “Sign in with Microsoft”
- User is redirected to Microsoft’s authentication page
- After authenticating with Microsoft, user is returned to the application
- The system validates the authentication token from Microsoft
- Upon successful validation, access is granted
Configuration
To enable Microsoft authentication:-
Register your application in the Microsoft Azure Portal:
- Sign in to the Azure portal
- Navigate to Azure Active Directory → App registrations
- Click New registration
- Enter a name for your application (e.g., “PipesHub login”)
- Select the appropriate Supported account types based on your needs:
- Single tenant: Accounts in this organizational directory only
- Multitenant: Accounts in any organizational directory
- Under Redirect URI, select Single-page application (SPA) and enter your callback URL (e.g.,
https://your-app-url/auth/microsoft/callback) - Click Register

-
After registration, note down the following from the Overview page:
- Application (Client) ID
- Directory (Tenant) ID
-
In PipesHub:
- Navigate to Authentication Settings
- Toggle on Microsoft
- Enter the Application (Client) ID from your Azure app registration
- Enter the Directory (Tenant) ID from your Azure app registration
- Click Save

Microsoft authentication works well for organizations using Microsoft 365 or with an existing Microsoft identity infrastructure.














