Migrate SPAs Using Lock 9 Popup Mode to Universal Login

Testing a partner connection

Testing a connection in Auth0 is very easy:

  1. Click on the Try button on each connection.
  2. Login with the identity provider.
  3. 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, Test App.

In the settings of the newly created app, configure Allowed Callback Urls to


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 where all user properties will be decoded from the token.

Note that the test app is not a real app. is just a testing website that is able to decode tokens sent on a URL fragment.