Kinde and edge worker services
Integrations
Cloudflare Zero Trust (Cloudflare One) protects internal applications and resources with access policies and federated sign-in. Instead of managing users in Cloudflare directly, you can connect an external identity provider and have users authenticate through your existing auth stack.
Kinde supports OpenID Connect (OIDC), so you can use it as the identity provider for Cloudflare Zero Trust. This guide walks you through the setup: configuring your Kinde application, adding the required callback URLs and OIDC endpoints, and registering Kinde in the Cloudflare Zero Trust dashboard.
Sign in to Cloudflare and go to Zero Trust.
Go to Settings > Team domain and copy the team domain:
<your_team_name>.cloudflareaccess.comIn Kinde, go to Settings > Environment > Applications.
Select View details on the relevant backend web application.
Copy the Kinde domain (or custom domain), Client ID, and Client secret, and save them somewhere you can access later.
Scroll to the Callback URLs section and enter the following Zero Trust team callback URL in the Allowed callback URLs field. You can add multiple callback URLs, one per line.
https://<your_team_name>.cloudflareaccess.com/cdn-cgi/access/callbackReplace <your_team_name> with the name of your Cloudflare team
Select Save.
These are the OpenID endpoints for Kinde, found at:
<YOUR_DOMAIN>/.well-known/openid-configurationReplace <YOUR_DOMAIN> with either your custom domain (e.g., https://auth.yourbusiness.com) or your Kinde domain (e.g., https://your_business.kinde.com)
Copy the following information somewhere you can access it later:
<YOUR_DOMAIN>/.well-known/jwks<YOUR_DOMAIN>/oauth2/auth<YOUR_DOMAIN>/oauth2/token<YOUR_DOMAIN>/oauth2/v2/user_profile<YOUR_DOMAIN>/logoutOther endpoints:
<YOUR_DOMAIN>/oauth2/revoke<YOUR_DOMAIN>/oauth2/introspectBack in the Cloudflare Zero Trust dashboard, go to Integrations > Identity providers.
Select Add an identity provider.
Select OpenID Connect as the identity provider.
On the new page that opens, enter the following details:
<YOUR_DOMAIN>/oauth2/auth)<YOUR_DOMAIN>/oauth2/token)<YOUR_DOMAIN>/.well-known/jwks)In the Optional configuration > OIDC claims section, configure the claims you want to receive from Kinde, such as name, given_name, family_name, and picture. See all available ID token claims on the ID token page.
Select Save.
After saving the connection, you are redirected to the Identity provider integrations page.
Select Test from the Kinde connection row.
A new tab opens with the Kinde login page. Complete the authentication process.
After successful authentication, you see the following page. If you enabled any OIDC claims, they appear on the page.
You can now use Kinde as an OIDC provider to sign in to your Cloudflare Zero Trust applications.
For access policies, protected applications, tunnels, and other Zero Trust features, see the Cloudflare One documentation. For OIDC identity provider configuration details, see Generic OIDC in the Cloudflare docs.