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: docs/auth/how-to/login.md
+16-17
Original file line number
Diff line number
Diff line change
@@ -26,35 +26,34 @@ This guide shows you how to log in users to your application with the [login pro
26
26
27
27
## Configure the secret
28
28
29
-
[Create a secret](../../services/secrets/how-to/console.md) for your team with the following the naming format
29
+
1.[Create a secret](../../services/secrets/how-to/console.md) for your team with the following naming format
30
30
31
-
```
32
-
login-config-<application-name>
33
-
```
34
-
35
-
and add the following keys:
31
+
```
32
+
login-config-<application-name>
33
+
```
36
34
37
-
`WONDERWALL_OPENID_CLIENT_ID`
35
+
2. Add the following keys:
38
36
39
-
:The client ID for your application.
37
+
`WONDERWALL_OPENID_CLIENT_ID`
40
38
41
-
`WONDERWALL_OPENID_WELL_KNOWN_URL`
39
+
: The client ID for your application.
42
40
43
-
:Optional. Only required of your organization doesn't set a default value.
41
+
`WONDERWALL_OPENID_WELL_KNOWN_URL`
44
42
45
-
The well-known URL for the OpenID Connect provider, e.g. `https://<provider>/well-known/openid-configuration`.
43
+
: Optional. Only required of your organization doesn't set a default value, or if you need to override the default value.<br/><br/>
44
+
The well-known URL for the OpenID Connect provider, e.g. `https://<provider>/well-known/openid-configuration`.
46
45
47
-
and either (at most one of):
46
+
3. Add one of the following keys:
48
47
49
-
`WONDERWALL_OPENID_CLIENT_JWK`
48
+
`WONDERWALL_OPENID_CLIENT_JWK`
50
49
51
-
: This is a private key in JWK format, e.g. `{"kty":"RSA","e":"AQAB","kid":"my-key-id",...}`.
50
+
: This is a private key in JWK format, e.g. `{"kty":"RSA","e":"AQAB","kid":"my-key-id",...}`.
52
51
53
-
`WONDERWALL_OPENID_CLIENT_SECRET`
52
+
`WONDERWALL_OPENID_CLIENT_SECRET`
54
53
55
-
: The client secret for your application.
54
+
: The client secret for your application.
56
55
57
-
Optionally, add additional environment variables to the secret to configure the login proxy further.
56
+
4. Optionally, add additional environment variables to the secret to configure the login proxy further.
58
57
See the [Wonderwall configuration reference :octicons-link-external-16:](https://github.com/nais/wonderwall/blob/master/docs/configuration.md) for all available options.
0 commit comments