Cloudflare Docs
Cloudflare Zero Trust
Edit this page on GitHub
Set theme to dark (⇧+D)

Centrify

Centrify secures access to infrastructure, DevOps, cloud, and other modern enterprise so you can prevent the number one cause of breaches: privileged access abuse.

​​ Set up Centrify as an OIDC provider

  1. Log in to the Centrify administrator panel.

  2. Select Apps.

  3. Select Add Web Apps.

  4. Select the Custom tab, then select Add OpenID Connect.

  5. On the Add Web App screen, select Yes to create an OpenID Connect application.

  6. Enter an Application ID.

    Centrify Settings with Application ID added
  7. Select Save.

  8. Select Trust in the Settings menu.

  9. Enter a strong application secret on the Trust section.

  10. Under Service Provider Configuration enter your application’s authentication domain as the resource application URL.

  11. Under Authorized Redirect URIs, select Add.

  12. Under Authorized Redirect URIs, enter the following URL:

    https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback

    You can find your team name in Zero Trust under Settings > Custom Pages.

    Centrify Trust Identity Provider Configuration with team domain and callback
  13. Select Save.

  14. Copy the following values:

  • Client ID
  • Client Secret
  • OpenID Connect Issuer URL
  • Application ID from the Settings tab
  1. Go to the User Access tab.

  2. Select the roles to grant access to your application.

  3. In Zero Trust, go to Settings > Authentication.

  4. Under Login methods, select Add new.

  5. Paste in the Client ID, Client Secret, Centrify account URL and Application ID.

  6. (Optional) Under Optional configurations, enter custom OIDC claims that you wish to add to your users’ identity. This information will be available in the user identity endpoint.

  7. Select Save.

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

​​ Example API Config

{
"config": {
"client_id": "<your client id>",
"client_secret": "<your client secret>",
"centrify_account": "https://abc123.my.centrify.com/",
"centrify_app_id": "exampleapp"
},
"type": "centrify",
"name": "my example idp"
}