Microsoft Entra ID SSO (SAML)
TL;DR
To have ngrok enforce Single Sign-On using SAML with Microsoft Entra ID:
This article details how to configure Microsoft Entra ID as an Identity Provider for your ngrok Edge. By integrating Microsoft Entra ID with ngrok, you can:
- Restrict access to ngrok tunnels to only users who authenticated via Microsoft Entra ID
- Configure Microsoft Entra ID and ngrok to enforce user and group authorization
- Use Microsoft Entra ID's dashboard to facilitate access to ngrok applications
Requirements
To configure ngrok tunnels with Microsoft Entra ID, you must have:
- an ngrok Enterprise Account with an authtoken or admin access to configure edges with SAML
- a Microsoft Azure account with access to an Microsoft Entra ID tenant
Step 1: Create an ngrok Edge
-
Go to the ngrok dashboard
-
Click Universal Gateway > Edges
-
Create an Edge:
- Click New Edge
- Click HTTPS Edge
- Click the Pencil Icon next to "no description". Enter Edge With Microsoft Entra ID SSO as the Edge name and click Save
-
Configure the SAML module for this Edge:
- On the Routes section, click SAML
- Click Begin setup
- In the Identity Provider section, copy the following XML as a placeholder into the input box
Loading…
-
Click Save
-
Note that ngrok has now generated values for the fields in the Service Provider section. You will need to configure Microsoft Entra ID with these values later