Skip to content

Commit 8aa2bd5

Browse files
committed
minimalism: remove fluff
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
1 parent 1e7b366 commit 8aa2bd5

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

modules/authentication/proc-enabling-authentication-with-github.adoc

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -153,29 +153,9 @@ signInPage: github
153153
`callbackUrl`::
154154
Enter the callback URL that GitHub uses when initiating an OAuth flow, such as: __<your_intermediate_service_url/handler>__.
155155
Define it when {product-short} is not the immediate receiver, such as in cases when you use one OAuth app for many {product-short} instances.
156-
+
157-
.`{my-app-config-file}` file fragment with optional `enterpriseInstanceUrl` field
158-
[source,yaml,subs="+quotes"]
159-
----
160-
auth:
161-
providers:
162-
github:
163-
production:
164-
callbackUrl: __<your_intermediate_service_url/handler>__
165-
----
166156

167157
`sessionDuration`::
168158
Enter the user session lifespan, in `ms` library format (such as '24h', '2 days'), ISO duration, or "human duration".
169-
+
170-
.`app-config-rhdh.yaml` fragment with optional `sessionDuration` field
171-
[source,yaml,subs="+quotes"]
172-
----
173-
auth:
174-
providers:
175-
github:
176-
production:
177-
sessionDuration: { hours: 24 }
178-
----
179159

180160
`signIn`::
181161

@@ -200,23 +180,6 @@ Available resolvers:
200180
Configure the sign-in resolver to bypass the user provisioning requirement in the {product-short} software catalog.
201181
+
202182
WARNING: Use `dangerouslyAllowSignInWithoutUserInCatalog` to explore {product-short} features, but do not use it in production.
203-
+
204-
.`{my-app-config-file}` file fragment with optional field to allow signing in users absent from the software catalog
205-
[source,yaml]
206-
----
207-
auth:
208-
environment: production
209-
providers:
210-
github:
211-
production:
212-
clientId: ${AUTHENTICATION_GITHUB_CLIENT_ID}
213-
clientSecret: ${AUTHENTICATION_GITHUB_CLIENT_SECRET}
214-
signIn:
215-
resolvers:
216-
- resolver: usernameMatchingUserEntityName
217-
dangerouslyAllowSignInWithoutUserInCatalog: true
218-
signInPage: github
219-
----
220183
--
221184

222185
.Verification

0 commit comments

Comments
 (0)