What you’ll need
- A LinkedIn account and (optionally) a LinkedIn Page for your app.
- Your ngrok authtoken and an endpoint with the OAuth action in its Traffic Policy.
Create credentials for ngrok
Follow LinkedIn’s documentation for creating an app in the LinkedIn Developer Portal, then set the following:- Authorized redirect URLs: add
https://idp.ngrok.com/oauth2/callbackin the app’s authentication settings. - Products: request access to Sign In with LinkedIn using OpenID Connect, which is required for ngrok to authenticate users.
Update your ngrok endpoint Traffic Policy
- Access the ngrok Dashboard Endpoints page and locate an existing endpoint you’d like to add this to or create a new one.
- In your traffic policy, add the following configuration:
You may add any scopes that are required by your application with the following caveats.
- Scopes which require a Facebook app review are unsupported.
- ngrok will enforce that users accept all permissions before completing authorization.