Skip to content

Commit 19055de

Browse files
committed
auth/login: clarify configuration steps in how-to
1 parent 640727e commit 19055de

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

docs/auth/how-to/login.md

+16-17
Original file line numberDiff line numberDiff line change
@@ -26,35 +26,34 @@ This guide shows you how to log in users to your application with the [login pro
2626

2727
## Configure the secret
2828

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
3030

31-
```
32-
login-config-<application-name>
33-
```
34-
35-
and add the following keys:
31+
```
32+
login-config-<application-name>
33+
```
3634
37-
`WONDERWALL_OPENID_CLIENT_ID`
35+
2. Add the following keys:
3836
39-
: The client ID for your application.
37+
`WONDERWALL_OPENID_CLIENT_ID`
4038
41-
`WONDERWALL_OPENID_WELL_KNOWN_URL`
39+
: The client ID for your application.
4240
43-
: Optional. Only required of your organization doesn't set a default value.
41+
`WONDERWALL_OPENID_WELL_KNOWN_URL`
4442
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`.
4645
47-
and either (at most one of):
46+
3. Add one of the following keys:
4847
49-
`WONDERWALL_OPENID_CLIENT_JWK`
48+
`WONDERWALL_OPENID_CLIENT_JWK`
5049
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",...}`.
5251
53-
`WONDERWALL_OPENID_CLIENT_SECRET`
52+
`WONDERWALL_OPENID_CLIENT_SECRET`
5453
55-
: The client secret for your application.
54+
: The client secret for your application.
5655
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.
5857
See the [Wonderwall configuration reference :octicons-link-external-16:](https://github.com/nais/wonderwall/blob/master/docs/configuration.md) for all available options.
5958
6059
## Configure your application

0 commit comments

Comments
 (0)