What you’ll need
- Your Amazon Developer account (sign up if you don’t have one).
- Your ngrok authtoken and an endpoint with the OAuth action in its Traffic Policy.
Create a security profile for ngrok
Follow Amazon’s documentation for registering with Login with Amazon to create a security profile in the Login with Amazon portal, then set the following in the profile’s web settings:- Allowed Return URLs: add
https://idp.ngrok.com/oauth2/callback.
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.