[ Web Proxy ]
URL:
Viewing: https://developers.cloudflare.com/fundamentals/account/account-security/scim-setup/authentik/ [Back]  [Original]

Provision with Authentik Cloudflare Fundamentals docsSkip to content
SearchCtrlKLog in
  1. Home
  2. /Cloudflare Fundamentals
  3. /
    AccountsAccount security
  4. /SCIM provisioning
  5. /Authentik

Provision with Authentik

Last updated Apr 20, 2026Copy as MarkdownView as MarkdownAgent setup
OverviewSet up your Authentik SCIM providerCreate an Authentik applicationConfigure user and group sync in AuthentikVerify the integrationAssign policies to user groups

Note

Important Update: Cloudflare now supports native User Groups for enhanced access control. This new feature replaces the previous method of directly assigning Cloudflare roles based on IdP group mappings (identified by the pattern CF-<accountID> - <Role Name>), which is deprecated as of June 2nd, 2025. SCIM Virtual Groups will reach end-of-life on December 2, 2025. Update your SCIM configurations using the instructions below to utilize User Groups for seamless provisioning.

Once you have gathered the required data, the following steps will be required to finish the provisioning with Authentik.

Set up your Authentik SCIM provider

  1. In the Authentik Admin interface, go to Applications > Providers.
  2. Select Create and choose SCIM Provider.
  3. Name your provider (for example, Cloudflare SCIM).
  4. In URL, enter: https://api.cloudflare.com/client/v4/accounts/<accountID>/scim/v2, substituting <accountID> for your Cloudflare Account ID.
  5. In Token, Paste the SCIM provisioning API token.
  6. (Optional) Adjust the User filtering and Group filtering settings to control which users and groups are synchronized.
  7. Select Finish to create the provider.

Create an Authentik application

  1. In the Authentik Admin interface, go to Applications > Applications.
  2. Select Create.
  3. Name your application (for example, Cloudflare Dashboard).
  4. In Provider, select the SCIM provider you created in the previous step.
  5. Select Create to save the application.

Configure user and group sync in Authentik

Note

The Update User Attributes option is not supported.

  1. In the Authentik Admin interface, go to Directory > Groups.
  2. Create or select the groups you want to synchronize with Cloudflare. Ensure the users you want to provision are members of these groups.
  3. Return to Applications > Providers and select your SCIM provider.
  4. Under Backchannel Providers, verify that your SCIM provider is correctly linked to the application.
  5. To trigger a manual sync, select Sync from the provider page. Authentik will also perform automatic periodic syncs based on your configured schedule.

Verify the integration

To verify the integration:

  1. In Authentik, go to Applications > Providers, select your SCIM provider, and review the Sync status section for any errors.
  2. In the Cloudflare dashboard, go to Manage Account > Members > User Groups to view the synchronized groups.
  3. Check the Audit Logs in the Cloudflare dashboard by going to Manage Account > Audit Log.

Assign policies to user groups

After users and groups are synchronized, you can assign policies to user groups:

  1. In the Cloudflare dashboard, go to Manage Account > Members > User Groups.
Go to Members ↗
  1. Select the group you want to configure.
  2. Assign the appropriate policies to define the roles for group members.
PreviousOverviewNextMicrosoft Entra

Was this helpful?

YesNo
Edit pageReport issue
[]

Web Proxy Viewer  |  New URL  |  Original Page