Post

Auth0 SAML Cloudflare Zero trust

  1. Sign up Auth0 (https://auth0.com/signup)

  1. Create User

  1. Create an Application ā†’ Applications > Applications

  1. Give it a name eg. Cloudflare Access and select Single Page Web Application

Addon SAML2 Web App ā†’ Under this Application > Addons > Select SAML2 WEB APP

Select Settings
Under Application Callback URL input https://.cloudflareaccess.com/cdn-cgi/access/callback \ Scroll down and and click on **Enable**

<your-team-name> can be found under Cloudflare Zero Trust > Setting > General Settings

  1. In this Addon screen, you can get SAML Configuration Parameters for Cloudflare ZT dashboard
    1. Download Auth0 certificate & Metadata
    2. Take down of Issuer & Identity Provider Login URL

Configure Cloudflare Zero Trust dashboard

  1. Login to your Zero Trust Dashboard
  2. Go to Settings > Authentication
  3. On Login methods section, Click Add new > Click SAML

  1. In Email attribute name, fill in this šŸ‘‡

[http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress]

  1. Once done click on test, you can see this result below

This post is licensed under CC BY 4.0 by the author.