1. Log into Auth0.
    Click on the top left menu and select Applications under the Applications section.


  2. Create a new regular web application

    On the Create application page, give the application a name and select Regular Web Application, then click Create.

    You can name the application anything you want, like "Mouseflow", for easy recognition.

  3. Add allowed callback URLs for Mouseflow endpoints
    Under Application URLs, add these 3 Mouseflow endpoint URLs to the Allowed Callback URLs field:

    1. https://app.mouseflow.com/sso

    2. https://eu.mouseflow.com/sso

    3. https://us.mouseflow.com/sso


      Remember to save your changes!

  4. Copy domain, client ID and client secret
    Under Basic Information, Find the Domain, Client ID, and Client Secret. Copy these — you will paste them into Mouseflow.

    You’re safe: This application is only used for the server-to-server integration with Mouseflow and Auth0, and we encrypt the Client Secret to ensure security.

    You’re in control: Both the application and Client Secret are under your complete control in Auth0.

    Note: If you rotate the Client Secret, you will need to repeat this setup process.

  5. Log into Mouseflow
    Log into Mouseflow. Click on the top menu, then select Account Settings.


  6. Enable single sign-on

    1. Scroll to the bottom of the screen, and toggle the 'Single Sign-On' control

    2. Enable Single Sign-On with the toggle selector.

    3. Then choose Auth0 as the SSO Provider.

    4. Enter (paste) your Domain, Client ID, and Client Secret. Click Save.


      Note: after clicking save, you have to go through the sign-in process in Auth0 with the email of your account owner in order to link you Mouseflow account with your Auth0 account.

Did this answer your question?