This guide refers to using SSO to authenticate access to your endpoints. You cannot use these instructions to set up SSO for logging into your ngrok account in the dashboard.
- Restrict access to your ngrok endpoints to only users authenticated via JumpCloud
- Use JumpCloud security policies and multi-factor authentication (MFA) authenticators
- Use JumpCloud’s dashboard to facilitate access to ngrok apps
What you’ll need
- A JumpCloud account with administrative rights to create apps.
- An ngrok Pay-as-you-go account with an authtoken or admin access to configure endpoints with OpenID Connect.
Configure JumpCloud
Create a custom OIDC application in JumpCloud by following JumpCloud’s SSO with OIDC guide.
When you configure the application, use these ngrok-specific values:
- Redirect URI:
https://idp.ngrok.com/oauth2/callback - Login URL: the URL of your ngrok endpoint (for example,
https://myexample.ngrok.app) - Client Authentication Type: Client Secret Basic
https://oauth.id.jumpcloud.com/.Assign at least one user group to the application so those users can sign in through JumpCloud.
Nobody can reach your endpoint through JumpCloud SSO until you assign a group.Configure ngrok
Use the OpenID Connect Traffic Policy action to enforce JumpCloud authentication on your endpoint.Create a Start an ngrok endpoint with this policy, replacing Copy the URL next to Forwarding (for example,
This step assumes you have an app running locally (for example, on
localhost:3000) with the ngrok client installed.policy.yaml file with the following content, replacing the placeholder values with those copied from JumpCloud:YOUR_DOMAIN with your ngrok domain:https://jumpcloud-sso-test.ngrok.app).