Skip to content

Commit 4367fb2

Browse files
OIDC doc: adds missing jwt_config values to authentik example (#18931)
Co-authored-by: Andrew Morgan <[email protected]>
1 parent b596faa commit 4367fb2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

changelog.d/18931.doc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Clarify necessary `jwt_config` parameter in OIDC documentation for authentik.
2+
Contributed by @maxkratz.

docs/openid.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ oidc_providers:
186186
4. Note the slug of your application, Client ID and Client Secret.
187187

188188
Note: RSA keys must be used for signing for Authentik, ECC keys do not work.
189+
Note: The provider must have a signing key set and must not use an encryption key.
189190

190191
Synapse config:
191192
```yaml
@@ -204,6 +205,12 @@ oidc_providers:
204205
config:
205206
localpart_template: "{{ user.preferred_username }}"
206207
display_name_template: "{{ user.preferred_username|capitalize }}" # TO BE FILLED: If your users have names in Authentik and you want those in Synapse, this should be replaced with user.name|capitalize.
208+
[...]
209+
jwt_config:
210+
enabled: true
211+
secret: "your client secret" # TO BE FILLED (same as `client_secret` above)
212+
algorithm: "RS256"
213+
# (...other fields)
207214
```
208215

209216
### Dex

0 commit comments

Comments
 (0)