﻿# Microsoft OAuth — Azure App Registration

This guide explains how to configure your Azure app registration to work with the Acrobits Signpost login page for NetSapiens portal integration.

!!! note
    Microsoft has rebranded Azure Active Directory to **Microsoft Entra ID**. The steps below reflect this change. If your Azure Portal still shows the older Azure Active Directory branding, the steps are the same.

## 1. Access the Azure Portal

1. Navigate to the **Azure Portal** at [https://portal.azure.com](https://portal.azure.com).
2. Sign in with a **Microsoft account** that has permissions to manage your Microsoft Entra ID directory.

## 2. Configure App Registrations

1. In the Azure Portal's search bar, type and select **"Microsoft Entra ID"**.
2. From the left-hand menu, choose **"App registrations"**.
3. Select the **application registration** you're using for your NetSapiens portal.

## 3. Add Redirect URIs

1. Once you're in the app registration's settings, click on **"Authentication"** in the left-hand menu.
2. Under the **"Platform configurations"** section, click **"Add a platform"**.
3. Select **"Single-page application (SPA)"**.
4. Enter the following **Redirect URIs**:
    - **Production:** `https://login.cloudsoftphone.com/signpost/auth/callback`
    - **Staging:** `https://signpost.lab.inner.acrobits.cz/signpost/auth/callback` *(Only needed if working with Acrobits on testing)*
    - **Development:** `http://localhost:5174/auth/callback` *(Only needed for local development/testing)*
5. Click **"Configure"** and then **"Save"** to apply your changes.

!!! note
    Most customers only need the **Production** URI. The Staging and Development URIs are only required if you are working with Acrobits on testing or development.

## 4. Provide the Application ID

1. After saving, go to the **"Overview"** section of your app registration.
2. Locate and **copy** the **Application (client) ID**. This is a long string of numbers and letters separated by dashes.
3. Send the copied **Application (client) ID** to your Acrobits representative via Slack or another secure method.