Skip to main content

Configuring Microsoft Social Connection in Production

This guide outlines the steps to configure Microsoft as a social login provider in AuthAction for a production environment.

Step 1: Create a Microsoft Azure OAuth Application

  1. Go to the Azure Portal.
  2. Navigate to Azure Active Directory > App registrations.
  3. Click New registration.
  4. Fill in the required details:
    • Name: Your application name
    • Supported account types: Choose the appropriate option based on your requirements.
    • Redirect URI: Set the redirect URI to:
      https://<tenant-name>.<region>.authaction.com/oauth2/login/callback
  5. Click Register.

Step 2: Retrieve Client ID and Client Secret

  1. In the App registrations section, select your newly created application.
  2. Copy the Application (client) ID.
  3. Navigate to Certificates & secrets.
  4. Under Client secrets, click New client secret.
  5. Set a description and expiration, then click Add.
  6. Copy the Client Secret (it will only be visible once).

Step 3: Configure Microsoft Connection in AuthAction

  1. Log in to the AuthAction dashboard.
  2. Navigate to ConnectionsSocial Connections.
  3. Click Add Connection and select Microsoft.
  4. Enter the Client ID and Client Secret obtained from Microsoft Azure.
  5. Click Save.

Step 4: Enable Microsoft Connection for Applications

  1. In the AuthAction dashboard, navigate to Applications.
  2. Select the application for which you want to enable Microsoft login.
  3. Go to the Connections tab and enable the Microsoft connection.

Step 5: Test the Integration

  1. Open your application's login page.
  2. Click on Sign in with Microsoft.
  3. Authenticate using a Microsoft account.
  4. Verify that the user is successfully redirected back to your application.

Your application is now configured to allow users to log in using Microsoft in production.