Okta
You can integrate Okta with Cloudflare Access to allow users to reach applications protected by Access with their Okta account.
In your Okta dashboard, click Admin.
Select the Applications tab in the Admin dashboard.
Click Add Application on the next page.
Click Create New App in the top right corner.
Choose
Web
as the Platform and toggle OpenID Connect. Click Create.You can name the application to be any value. In the Login redirect URIs field, input your team domain followed by this callback at the end of the path:
/cdn-cgi/access/callback
. For example:https://your-team-name.cloudflareaccess.com/cdn-cgi/access/callback
Once saved, choose the
Sign On
tab from the application view.Scroll down to the
OpenID ConnectID Token
.Click Edit and edit the Groups claim filter to
Starts with
and the value.*
.Next, click the Assignments tab.
Click Assign and assign the application to all users in your organization.
Return to the General tab. Scroll down to find your credentials. Copy the ID and secret.
On the Teams dashboard, navigate to Access > Authentication.
Click + Add under Login Methods, and select Okta as your IdP.
- Input the ID, secret, and the Okta account URL. Click Save.
To test that your connection is working, navigate to Authentication > Login methods and click Test next to Okta.
Example API Configuration
{ "config": { "client_id": "<your client id>", "client_secret": "<your client secret", "okta_account": "https://dev-abc123.oktapreview.com", }, "type": "okta", "name": "my example idp"}