-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[CF1] IdP-initiated SSO dash login #22113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,10 +58,46 @@ Cloudflare recommends carefully storing your [Global API key](/fundamentals/api/ | |
| Cloudflare dashboard SSO does not support: | ||
|
|
||
| - Users with plus-addressed emails, such as `[email protected]`. If you have users like this added to your Cloudflare organization, they will be unable to login with SSO. | ||
| - IdP-initiated logins (such as a tile in Okta). All login attempts must originate from `https://dash.cloudflare.com`. You can create a bookmark for this URL in your IdP to assist users. | ||
| - Adding a separate email-based policy to the SSO application that does not match your SSO domain policy. As your account team must [approve and create your SSO domain](/cloudflare-one/applications/configure-apps/dash-sso-apps/#2-contact-your-account-team) based on the [SSO domain requirements](/cloudflare-one/applications/configure-apps/dash-sso-apps/#sso-domain-requirements), adding a new domain policy on your own will not work. | ||
| - Deleting the auto-generated `allow email domain` policy. If this policy was deleted, your organization's administrators would not be able to access the Cloudflare dashboard. | ||
|
|
||
| ## IdP-initiated SSO | ||
|
|
||
| IdP-initiated login is supported for Cloudflare Dashboard SSO, with configuration available via your identity provider (IdP). | ||
|
|
||
| A step-by-step guide is currently available for Okta, and similar configurations are possible with other identity providers that support custom SSO endpoints. | ||
|
|
||
| ### Okta | ||
|
|
||
| Configure an identity provider (IdP)-initiated single sign-on (SSO) session using Cloudflare Zero Trust and Okta. | ||
|
|
||
| #### Prerequisites | ||
|
|
||
| 1. In [Zero Trust](https://one.dash.cloudflare.com/), go **Access** > **Applications** > select your **SSO App**. | ||
deadlypants1973 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 2. Select **Configure** to access the application settings. | ||
| 3. In the **Basic Information** section, find the **SSO Endpoint URL** and copy it. You will need the copied **SSO Endpoint URL** for your IdP setup. | ||
|
|
||
| #### Configure Okta as the IdP | ||
|
|
||
| 1. Log in to your [Okta Admin Dashboard](https://login.okta.com/) and go to **Applications** > **Applications**. | ||
| 2. Select **Create App Integration** to start a new SAML integration to handle the IdP-initated SSO flow. | ||
| 3. In the pop-up, select **SAML 2.0** and select **Next**. | ||
| 4. Enter a name for the app and select **Next**. | ||
| 5. In the **Single Sign-On URL** field, paste the **SSO Endpoint URL** [you copied earlier](/cloudflare-one/applications/configure-apps/dash-sso-apps/#prerequisites-1). | ||
| 6. Set the **Name ID Format** to **EmailAddress**. | ||
| 7. Set the **Application Username** to **Email**. | ||
| 8. Select **Next** > **Finish** to save the integration. | ||
| 9. Test the integration by going to your Okta User Dashboard, locating the new app tile, and selecting it to verify the SSO flow. | ||
|
|
||
| **(Optional) Enforce single IdP login with Instant Auth** | ||
|
|
||
| If you use only one IdP (for exampple, Okta) for Cloudflare SSO and want users to skip the identity provider selection prompt: | ||
|
|
||
| 1. In [Zero Trust](https://one.dash.cloudflare.com/), go **Access** > **Applications** > select your **SSO App**. | ||
deadlypants1973 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 2. Go to **Login methods**. | ||
| 3. Disable **Accept all available identity providers** and ensure only Okta is selected as the login method. | ||
| 4. Enable **Instant Auth** 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. | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.