Skip to content

SAML with Auth0ΒΆ


Here are the steps to integrate SAML to Faraday using Azure:

Step 1: Navigate to Microsoft Azure.

Step 2: Sing in with your admin account.

Step 3: Navigate to Entrepise Applications.

Step 4: Click New Application button.

Step 5: Click Create your own application button.

Step 6: On the What's the name of your app? field enter faraday.

Step 7: On the What are you looking to do with your application? selection enter Integrate any other application you don't find in the gallery (Non-gallery).

Then click Create.

Step 8: In your new app page, go to the Single sign-on.

Step 9: Click SAML button.

Step 9: Click Edit button in Basic SAML Configuration.

Step 10: In Identifier (Entity ID) field enter https:///_api/saml/metadata.xml and in Reply URL (Assertion Consumer Service URL) enter https:///_api/saml/acs.

Step 11: Click Save button.

Step 12: In the SAML Certificates download the Certificate (Base64).

Step 13: Now in faraday->settings->saml and follow the fields in the next way:

1
2
3
4
5
* Display Name = 'Farady'
* Identity ID = The Microsoft Entra Identifier, ej https://sts.windows.net/xxxxx/
* Attribute Identifier = The field of wicht you want to use as username in faraday
* SSO URL = The login URL ej https://login.microsoftonline.com/xxxx/saml2
* IDP Certificate = The content of the SAML Cetificate downloaded in step 12

Step 14: Run this command at a Terminal:

openssl req -newkey rsa:2048 -nodes -keyout key.pem -x509 -days 1825 -out certificate.pem

This command will return a key that goes into SP Private Key field and a certificate that goes into SP Certificate field on Faraday's SAML configuration.