GitHub
Cloudflare One allows your team to connect to your applications using their GitHub login. You do not need to have a GitHub organization to use the integration.
To configure GitHub access in both GitHub and Cloudflare One:
-
Log in to GitHub ↗.
-
Go to your account Settings > Developer Settings.
-
In Developer Settings, select OAuth Apps and select New OAuth app.
-
On the Register a new OAuth application page, enter an Application name. Your users will see this application name on the login page.
-
In the Homepage URL field, enter your team domain:
https://<your-team-name>.cloudflareaccess.comYou can find your team name in Cloudflare One ↗ by going to Settings > Team name.
-
In the GitHub Authorization callback URL field, enter the following URL:
https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback -
Select Register application.
-
Find the Client ID and Client Secret.
-
In Cloudflare One ↗, go to Integrations > Identity providers.
-
Select Add new identity provider and select GitHub.
-
Choose GitHub on the next page.
-
In the App ID field, copy and paste the Client ID you found in step 8. In the Client secret field, copy and paste the Client secret you found in step 8. You will need to select Generate a new client secret if one is not already displayed.
-
Select Save.
To test that your connection is working, go to Cloudflare One ↗ > Integrations > Identity providers and select Test next to your GitHub login method. If you have GitHub two-factor authentication enabled, you will need to first login to GitHub directly and return to Access.
{ "config": { "client_id": "<your client id>", "client_secret": "<your client secret>" }, "type": "github", "name": "my example idp"}Was this helpful?
- Resources
- API
- New to Cloudflare?
- Directory
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- © 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark