Testing a partner connection
Testing a connection in Auth0 is very easy:
- Click on the Try button on each connection.
- Login with the identity provider.
- Wait for the It Works! page that displays the result.
Auth0 simulates the authentication flow as if it was an application, displaying the User Profile resulting from a successful authentication.
There's a caveat though: for this to work you have to be logged-in in the dashboard.
This is often not possible if you are testing a connection that belongs to someone else, and you don't have test credentials with them. This is common when connecting to Enterprise connections such as SAML IdPs or Active Directory.
Having your partners test the new connection is very easy nevertheless:
1. Create a Test app
Register a new application on Auth0: Dashboard > Apps/APIs > Create. You can give it any name: Test App
In the settings of the newly created app, configure Allowed Callback Urls to http://jwt.io.
Click on SAVE CHANGES.
2. Send your Partner the link to login
Make sure you replace these two parameters:
- client_id: the app client_id created in Step 1.
- connection: the name of the connection you want to test.
3. Test it
When your partner follows the link above, they will be redirected to their configured Identity Provider (the connection). After successful authentication, they will be sent back to JWT.io where all user properties will be decoded from the token.