Cloudflare Docs
Visit Cloudflare Zero Trust on GitHub
Set theme to dark (⇧+D)

SAML | Centrify

Centrify secures access to infrastructure, DevOps, cloud, and other modern enterprise so you can prevent the #1 cause of breaches – privileged access abuse.

Set up Centrify (SAML)

To set up SAML with Centrify as your identity provider:

  1. Log in to your Centrify admin portal and click Apps.

    Centrify Apps page

  2. Select Add Web Apps.

  3. Click the Custom tab.

  4. Next to the SAML icon click Add.

    Centrify Settings Add Application details page

  5. Enter the required information for your application.

  6. Click Save.

  7. Click Settings in the left pane.

  8. In the middle menu pane, select Trust.

  9. Choose the Manual Configuration option.

  10. In the SP Entity ID and Assertion Consumer Service (ACS) URL fields, enter your team domain followed by this callback at the end of the path: /cdn-cgi/access/callback. For example:

  11. Click Save.

  12. In the middle menu pane, select User Access.

  13. Click Add. The Select Role dialog displays.

    Centrify Settings Select Role dialog

  14. Complete your roles access assignments. The Role rules display on the User Access card.

    Centrify Added Roles list

  15. In the middle menu pane, select SAML Response.

  16. Click Active > Add to create a new Attribute Name, Email.

    Centrify Settings Email Attribute

  17. Enter the user email addresses in the Attribute Value field.

  18. Click Save.

  19. Select Settings again from the left menu pane, and Trust.

  20. Select the Manual Configuration option.

  21. On the Zero Trust dashboard, navigate to Settings > Authentication.

  22. Under Login methods, click Add new.

  23. Select SAML.

  24. Copy and paste the corresponding information from Centrify into the fields.

  25. Click Save.

To test that your connection is working, navigate to Authentication > Login methods and click Test next to the login method you want to test.

Download SP metadata (optional)

Some IdPs allow administrators to upload metadata files from their SP (service provider).

To get your Cloudflare metadata file:

  1. Download your unique SAML metadata file at the following URL:


    Replace <your-team-name> with your team name .

  2. Save the file in XML format.

  3. Upload the XML document to your Centrify account.

Example API configuration

"config": {
"issuer_url": "",
"sso_target_url": "",
"attributes": ["email"],
"email_attribute_name": "",
"sign_request": false,
"idp_public_cert": "MIIDpDCCAoygAwIBAgIGAV2ka+55MA0GCSqGSIb3DQEBCwUAMIGSMQswCQYDVQQGEwJVUzETMBEG\nA1UEC.....GF/Q2/MHadws97cZg\nuTnQyuOqPuHbnN83d/2l1NSYKCbHt24o"
"type": "saml",
"name": "centrify saml example"