Configuring the SAML Deprecated connector with Auth0
This connector is now in Deprecated status. It is no longer available for new users and is not actively maintained. We will provide a minimum six-month notice before its retirement. We recommend upgrading to the newer supported version of this connector.
This tutorial shows how you can configure the SAML Deprecated connector for SSO using Auth0 authentication.
About this tutorial
In this tutorial, we are going to install the SAML Deprecated connector and connect it to an Auth0 IdP.
What you will learn: This tutorial is designed for advanced users, and aims to introduce the example steps involved in configuring the SAML connector to use Auth0 authentication.
Duration: 30 mins \ : Skill level: Advanced
Step 1: Creating and configuring an Auth0 web application
-
Create a new application in Auth0 and enter a suitable name for the application.
-
Select the Regular Web Applications application type.
-
Click Create to create the application.
-
Configure the application as follows:
-
Settings
-
Token Endpoint Authentication Method: Set this to Basic
-
Allowed Callback URLs: Enter
-
-
Advanced Settings
- Download the certificate
-
Add-ons
-
Enable the SAML2 Web App Add-on and change the following setting:
-
Settings | Application Callback URL: Enter
-
Usage**| Identity Provider Login URL**: Copy this value and save for use in Step 2.
-
Once you have made these changes, save and enable the Add-on.
-
-
Connections:
- Select the connection that you want to use, for example Database | Username-Password-Authentication.
-
-
Save your changes to complete your Auth0 application configuration.
Step 2: Installing the SAML Auth0 connector in Flow
-
Install the SAML connector for use with Auth0. Refer to Installing the SAML Deprecated connector for guidance. During installation, use the following values:
-
Login URL: Paste the "User access URL" (you have the Identity Provider Login URL value already saved from the previous step). For example,
https://your\_user.eu.auth0.comsamlp/diIaEInPnP37Sf123456. -
Certificate: Create an Encrypted value but leave it empty for now.
-
Assertion Consumer Service (URL): Enter
https://flow.manywho.com/api/run/1/saml -
Identifier of the IdP entity (URI): Enter the IdP Issuer value from your SAML web app.
-
Identifier of the SP entity (URI): Enter
http://localhost -
No XML Validation: Set to False
-
Debug: Set to False (can be set to True if debug is needed, but it should be always False at production)
-
Supported Users: Leave this field empty.
-
Supported Groups: Leave this field empty.
-
-
Save the connector.
Step 3: Configuring the SAML Auth0 service in Flow
- Select API from the main left-hand menu to open the API tool.
- Enter
api/draw/1/element/service?filter=into the API Address field. - Click GET.
- The Response pane now contains the id for the SAML connector. Copy this value.
- Enter
api/draw/1/element/service/\{id\}into the API Address field, replacing {id} with the copied ID. - Click GET.
- Copy all the information in the Response pane and paste it into the Request pane.
- In the Request pane, change sendDecryptedValues to
True. - Enter
api/draw/1/element/serviceinto the API Address field. - Click Post.
- You can now protect a Flow using Auth0 with a SAML app.