Skip to main content

Microsoft Authentication

Allow users to sign in with their Microsoft accounts using OAuth 2.0.

How It Works

  1. User clicks “Sign in with Microsoft”
  2. User is redirected to Microsoft’s authentication page
  3. After authenticating with Microsoft, user is returned to the application
  4. The system validates the authentication token from Microsoft
  5. Upon successful validation, access is granted

Configuration

To enable Microsoft authentication:
  1. Register your application in the Microsoft Azure Portal:
    • Sign in to the Azure portal
    • Navigate to Azure Active DirectoryApp 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
    Azure AD App Registration
    The Redirect URI in your Azure App Registration must match exactly with your application’s callback URL (your-app-url/auth/microsoft/callback)
    For example - if your app is running on https://play.pipeshub.com, then the Redirect URI should be https://play.pipeshub.com/auth/microsoft/callback in Azure Portal.
  2. After registration, note down the following from the Overview page:
    • Application (Client) ID
    • Directory (Tenant) ID
  3. 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
    PipesHub Microsoft Configuration Dialog
Microsoft authentication works well for organizations using Microsoft 365 or with an existing Microsoft identity infrastructure.