Set up dashboard SSO·续

(Optional) Enforce single IdP login with instant authentication

If you use only one IdP (for example, Okta) for Cloudflare SSO and want users to skip the identity provider selection prompt:

  1. In the Cloudflare dashboard ↗︎, go to Zero Trust > Access controls > Applications > select your SSO App.
  2. Go to Authentication.
  3. Disable Accept all available identity providers and ensure only Okta is selected as the login method.
  4. Enable Apply instant authentication to allow users to skip identity provider selection.

Bypass dashboard SSO

This section describes how to restore access to the Cloudflare dashboard in case you are unable to login with SSO.

Option 1: Add a backup IdP

If there is an issue with your SSO IdP provider, you can add an alternate IdP using the API. The following example shows how to add Cloudflare One-time PIN as a login method:

  1. Add one-time PIN login:<details><summary>

Required API token permissions</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required: - <code>Access: Organizations, Identity Providers, and Groups Write</code></details>

Add an Access identity providerbash

   curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/identity_providers" \
    --request POST \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "type": "onetimepin",
        "config": {}
    }'
   ```

2. [Get](https://developers.cloudflare.com/api/resources/zero_trust/subresources/access/subresources/applications/methods/list/) the `id` of the `dash_sso` Access application. You can use [`jq` ↗︎](https://jqlang.github.io/jq/download/) to quickly find the correct application:

*cURL commandbash*

```bash
   curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/apps" \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
     | jq '.result[] | select(.type == "dash_sso")'
   ```

```txt
   {
    "id": "3537a672-e4d8-4d89-aab9-26cb622918a1",
    "uid": "3537a672-e4d8-4d89-aab9-26cb622918a1",
    "type": "dash_sso",
    "name": "SSO App"
    // ...
   }
  1. Using the id obtained above, update SSO App to accept all identity providers. To avoid overwriting your existing configuration, the PUT request body should contain all fields returned by the previous GET request.<details><summary>

Required API token permissions</summary>

At least one of the following <a href="https://developers.cloudflare.com/fundamentals/api/reference/permissions/">token permissions</a> is required: - <code>Access: Apps and Policies Write</code></details>

Update an Access applicationbash

   curl "https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/apps/3537a672-e4d8-4d89-aab9-26cb622918a1" \
    --request PUT \
    --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
    --json '{
        "id": "3537a672-e4d8-4d89-aab9-26cb622918a1",
        "uid": "3537a672-e4d8-4d89-aab9-26cb622918a1",
        "type": "dash_sso",
        "name": "SSO App",
        "allowed_idps": []
    }'
   ```

Users will now have the option to log in using a one-time PIN.

### Option 2: Disable dashboard SSO

Caution

Before disabling SSO, make sure you have access to your Cloudflare user email. This will allow you to reset your password in case you get logged out of the Cloudflare dashboard.

1. Navigate to the **Members** page.

[Go to **Members** ↗](https://dash.cloudflare.com/?to=/:account/members)

2. Go to **Settings**.
3. Select the actions menu for the SSO connector in the list and select **Disable**.
4. Type the domain of the connector and click confirm to complete the disable action.

The following API calls will disable SSO enforcement for an account. This action can only be performed by API tokens with the `SSO connectors edit` role or Super Administrators.

1. Get your SSO connector `id`:

*cURL commandbash*

```bash
   curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/sso_connectors" \
     --request GET \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
   ```

```txt
   {
    "result": [
        {
            "id": "d616ac82cc7f87153112d75a711c5c3c",
            "email_domain": "cool.cats",
            "enabled": true
            // ...
        }
    ],
    "success": true,
    "errors": [],
    "messages": []
   }
  1. Disable the SSO connector:

cURL commandbash

   curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/sso_connectors/{connector_id}" \
     --request PATCH \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
     --json '{
       "enabled": false
     }'
   ```

```txt
   {
    "result": [
        {
            "id": "d616ac82cc7f87153112d75a711c5c3c",
            "email_domain": "cool.cats",
            "enabled": false
            // ...
        }
    ],
    "success": true,
    "errors": [],
    "messages": []
   }

Users can now log in using their Cloudflare account email and password. If a user does not have a password, they can use the forgot password method on the login page to create one.

Change your Zero Trust team name

Cloudflare does not allow you to change your team name while a SSO connector is created. To change your team name, you must disable and delete your SSO connector(s).

  1. Navigate to the Members page.

Go to Members ↗

  1. Go to Settings.
  2. Disable all SSO connectors.
  3. Delete all SSO connectors.

  4. Get all SSO connectors for your account.

cURL commandbash

   curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/sso_connectors" \
     --request GET \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
   ```

2. Disable any active SSO connectors using the `id` of each connector from the previous step.

*cURL commandbash*

```bash
   curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/sso_connectors/{connector_id}" \
     --request PATCH \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
     --json '{
       "enabled": false
     }'
   ```

3. Delete all SSO connectors using the `id` of each connector from the previous step.

*cURL commandbash*

```bash
   curl "https://api.cloudflare.com/client/v4/accounts/{account_id}/sso_connectors/{connector_id}" \
     --request DELETE \
     --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN"
   ```

4. In the [Cloudflare dashboard ↗︎](https://dash.cloudflare.com/), go to **Zero Trust** > **Reusable components** > **Custom pages**.
5. Under **Team domain**, select **Edit** to enter the new team name. Select **Save**.
6. In your identity provider, update your Cloudflare integration with the new team name. For example, if you are using a SAML IdP, you will need to update the Single Sign-on URL and Entity ID to `https://<new-team-name>.cloudflareaccess.com/cdn-cgi/access/callback`.
7. Recreate any deleted SSO connectors using the steps in [Register your domain with Cloudflare for SSO](https://developers.cloudflare.com/fundamentals/manage-members/dashboard-sso/#2-register-your-domain-with-cloudflare-for-sso).
8. Follow the verification and enable steps after recreating the SSO connectors.

Was this helpful?

YesNo

## On this page

[![](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NiIgaGVpZ2h0PSIzMCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDY2IDMwIj48ZyBjbGlwLXBhdGg9InVybCgjY2xpc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4xNjctMS41NDRjMC0zLjkzNSAzLjE3LTcuMTI1IDcuMDgtNy4xMjUgMS41NTUgMCAyLjk5NC41MDYgNC4xNjIgMS4zNjJDMjIuODQ5IDQuNDk3IDI4LjcwNyAwIDM1LjYwOSAwIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDBfNzQ2XzIiPjxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoNjZ2MzBIMHoiLz48L2NsaXBQYXRoPjwvZGVmcz48L3N2Zz4=)Docs](https://developers.cloudflare.com/)

```json
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/fundamentals/manage-members/dashboard-sso/#page","headline":"Set up dashboard SSO","description":"Configure single sign-on (SSO) for the Cloudflare dashboard using your identity provider to enforce authenticated access for your email domain.","url":"https://developers.cloudflare.com/fundamentals/manage-members/dashboard-sso/","inLanguage":"en","image":"https://developers.cloudflare.com/fundamentals/manage-members/dashboard-sso/og.png?v=ce56a2db812d7cdb","dateModified":"2026-08-14","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["SSO"]}


description: Cloudflare checks your password against known data breaches at login and prompts you to reset it if a match is found. title: Leaked Password Notifications image: https://developers.cloudflare.com/fundamentals/account/account-security/leaked-password-notifications/og.png?v=cb32e6357254b506


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/fundamentals/llms.txt
Use this file to discover all available pages before exploring further.