| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/cloudflare-one/integrations/identity-providers/okta-saml/ | [Back] [Original] |
Cloudflare One can integrate SAML with Okta as an identity provider.
To set up SAML with Okta as your identity provider:
On your Okta admin dashboard, go to Applications > Applications.
Select Create App Integration.
In the pop-up dialog, select SAML 2.0 and then elect Next.
Enter an app name and select Next.
[Entering your Cloudflare One callback URL into Okta]In the Single sign on URL and the Audience URI (SP Entity ID) fields, enter the following URL:
https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback
You can find your team name in the Cloudflare dashboard under Settings > Team name and domain > Team name.
In the Attribute Statements section, enter the following information:
email.user.email.(Optional) If you are using Okta groups, create a Group Attribute Statement with the following information:
groups..*.
[Configuring attribute statements in Okta]
Select Next.
Select I'm an Okta customer adding an internal app and check This is an internal app that we have created.
[Configuring feedback options in Okta]
Select Finish.
In the Assignments tab, select Assign and assign individuals or groups you want to grant access to.
Select Done. The assigned individuals and groups will display in the Assignments tab.
[Assigning individuals and groups to Okta application]
[Retrieving SAML provider information in Okta]
In the Cloudflare dashboard , go to Zero Trust > Integrations > Identity provider.
Under Your identity providers, select Add new identity provider, and select SAML.
Fill in the following information:
http://www.okta.com/<your-okta-entity-id>.(Recommended) Enable Sign SAML authentication request.
(Recommended) Under SAML attributes, add the email and groups attributes. The groups attribute is required if you want to create policies based on Okta groups.
[Adding optional SAML attributes in Cloudflare One]
To test that your connection is working, go to Integrations > Identity providers and select Test next to Okta. A success response should return the configured SAML attributes.
Caution
SAML attributes are only refreshed during authentications with the Okta identity provider. This means the Okta group membership is not updated unless a user logs in and out of the Cloudflare One Client, or logs in to an Access application.
{
"config": {
"issuer_url": "http://www.okta.com/exkbhqj29iGxT7GwT0h7",
"sso_target_url": "https://dev-abc123.oktapreview.com/app/myapp/exkbhqj29iGxT7GwT0h7/sso/saml",
"attributes": ["email", "group"],
"email_attribute_name": "",
"sign_request": false,
"idp_public_certs": [
"MIIDpDCCAoygAwIBAgIGAV2ka+55MA0GCSqGSIb3DQEBCwUAMIGSMQswCQYDVQQGEwJVUzETMBEG\nA1UEC.....GF/Q2/MHadws97cZg\nuTnQyuOqPuHbnN83d/2l1NSYKCbHt24o"
]
},
"type": "saml",
"name": "okta saml example"
}| Web Proxy Viewer | New URL | Original Page |