You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/identity/idp-integration/github.mdx
+16-18Lines changed: 16 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,51 +3,49 @@ pcx_content_type: how-to
3
3
title: GitHub
4
4
---
5
5
6
-
Cloudflare Zero Trust allows your team to connect to your applications using their GitHub login. Administrators can build rules for specific individuals or using GitHub organizations. You do not need to have a GitHub organization to use the integration.
6
+
Cloudflare Zero Trust 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.
7
7
8
8
## Set up GitHub Access
9
9
10
10
To configure GitHub access in both GitHub and Cloudflare Zero Trust:
11
11
12
-
1. Log in to GitHub.
12
+
1. Log in to [GitHub](https://github.com/).
13
13
14
-
2. Go to your account **Settings** > **Developer Settings**, select **OAuth Apps** and select **Register a new application**. The **Register a new OAuth application** window displays.
14
+
2. Go to your account **Settings** > **Developer Settings**.
15
15
16
-

16
+
3. In **Developer Settings**, select **OAuth Apps** and select **New OAuth app**.
17
17
18
-
3. Enter an **Application name**. Your users will see this name on the login page.
18
+
4. On the **Register a new OAuth application** page, enter an **Application name**. Your users will see this application name on the login page.
19
19
20
-
4. In the **Homepage URL** field, enter your team domain:
20
+
5. In the **Homepage URL** field, enter your team domain:
21
21
22
22
```txt
23
23
https://<your-team-name>.cloudflareaccess.com
24
24
```
25
25
26
-
You can find your team name in Zero Trust under**Settings** > **Custom Pages**.
26
+
You can find your team name in [Zero Trust](https://one.dash.cloudflare.com) by going to**Settings** > **Custom Pages**.
27
27
28
-
5. In the GitHub **Authorization callback URL** field, enter the following URL:
28
+
6. In the GitHub **Authorization callback URL** field, enter the following URL:

38
+
9. In [Zero Trust](https://one.dash.cloudflare.com), go to **Settings** > **Authentication**.
39
39
40
-
8. In Zero Trust, go to **Settings** >**Authentication**.
40
+
10. Under **Login methods**, select**Add new**.
41
41
42
-
9. Under**Login methods**, select **Add new**.
42
+
11. Choose**GitHub** on the next page.
43
43
44
-
10. Choose **GitHub**on the next page.
44
+
12. 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.
45
45
46
-
11. Paste in the **Client ID** and **Client secret**.
46
+
13. Select **Save**.
47
47
48
-
12. Select **Save**.
49
-
50
-
To test that your connection is working, go to **Authentication** > **Login methods** and select **Test** next to GitHub.
48
+
To test that your connection is working, go to [Zero Trust](https://one.dash.cloudflare.com) > **Authentication** > **Login methods** and select **Test** next to your GitHub login method.
51
49
If you have GitHub two-factor authentication enabled, you will need to first login to GitHub directly and return to Access.
0 commit comments