Migrate SPAs Using Lock 9 Popup Mode to Universal Login
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:
Customizing the Login Page
1. Create a Test app
To register a new application on Auth0 go to Dashboard > Applications > Create. You can give it any name, for example,
In the settings of the newly created app, configure Allowed Callback Urls to
Click on SAVE CHANGES.
Customize Lock in the Login Page
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.