1. Help Center
  2. Captive Portals

Azure AD OAuth

Configuration of OAuth with Azure Active Directory

This page provides instructions on how to configure your Azure Active Directory to allow Captive Portal authentication with OAuth.

  1. Navigate to https://portal.azure.com
  2. Go to Azure Active Directory submenu

firstScreenshot

 

3. Select the active directory you wish to use for SSO

4. Click on App Registrations > New registration

firstScreenshot

 

5. Enter the name for the new application, select type Web, and enter Sign-on URL enter(reply URL) - for example https://us-west1.ironwifi.com/api/signin/azure (update subdomain with the selected region or use splash for Global). 

6. Then click Register

firstScreenshot

 

7. Copy Application (client) ID

firstScreenshot

 

8. In the application settings panel, click on Certificates & secrets, then add a New client secret and enter a description and expiration time. Then simply click add.

firstScreenshot

 

Sign in to the IronWiFi console

  1. Click on Networks > Captive Portals and create a new Captive Portal. Then click on the newly created Captive Portal

firstScreenshot

 

2. Expand the Authentication Providers menu and click Add New

firstScreenshot

 

3. Select Social Login - OAuth 2.0, provider Azure

4. Paste copied Application-ID (Client ID) and Secret Key (Client Secret Value), then click create

firstScreenshot

 

 5. Scroll up and  test your Azure AD OAuth
Screenshot 2023-03-21 1.28.12 PM