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: modules/authentication/proc-enabling-authentication-with-github.adoc
+45-16Lines changed: 45 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ Select `Only on this account`.
37
37
* **Client ID**
38
38
* **Client secret**
39
39
40
-
. To add your GitHub credentials to {product-short}, add the following key/value pairs to link:{configuring-dynamic-plugins-book-url}#provisioning-your-custom-configuration[your {product-short} secrets]:
40
+
. To add your GitHub credentials to {product-short}, add the following key/value pairs to link:{configuring-dynamic-plugins-book-url}#provisioning-your-custom-configuration[your {product-short} secrets].
41
+
You can use these secrets in the {product-short} configuration files by using their respective environment variable name.
41
42
+
42
43
`AUTHENTICATION_GITHUB_CLIENT_ID`::
43
44
Enter the saved **Client ID**.
@@ -49,7 +50,7 @@ Enter the saved **Client Secret**.
49
50
Enter the GitHub host domain: `github.com`.
50
51
51
52
`AUTHENTICATION_GITHUB_ORGANIZATION`::
52
-
Enter your GitHub organization name, such as `__<your_github_organization_name>__'.
53
+
Enter your GitHub organization name, such as `__<your_github_organization_name>__`.
53
54
54
55
. Enable the `backstage-plugin-catalog-backend-module-github-org` plugin.
55
56
+
@@ -82,8 +83,11 @@ catalog:
82
83
minutes: 15
83
84
----
84
85
85
-
`githubUrl` and `orgs`::
86
-
Use the configured secrets.
86
+
`githubUrl`::
87
+
Enter the configured secret variable name: `${AUTHENTICATION_GITHUB_HOST_DOMAIN}`.
88
+
89
+
`orgs`::
90
+
Enter the configured secret variable name: `${AUTHENTICATION_GITHUB_ORGANIZATION}`.
87
91
88
92
`schedule.frequency`::
89
93
Enter your schedule frequency, in the cron, ISO duration, or "human duration" format.
@@ -97,6 +101,7 @@ Enter your schedule initial delay, in the ISO duration or "human duration" forma
97
101
98
102
. To set up the GitHub authentication provider, add the `auth.providers.github` section to the `{my-app-config-file}` file content:
99
103
+
104
+
--
100
105
.`{my-app-config-file}` file fragment with mandatory fields to enable authentication with GitHub
0 commit comments