Commit 43ba06d
OIDCAuthBackend: query userinfo instead of using id_token fields
Authelia v4.39.0 has changed how it populates the id_token:
https://www.authelia.com/blog/4.39-release-notes/ (“ID Token Changes”)
Attributes like "name" or "email" are no longer present in id_token,
and should be fetched via userinfo in any case, see also the pyoidc docs:
https://pyoidc.readthedocs.io/en/latest/examples/rp.html
This change fixes logging into pretix with Authelia ≥ v4.39.0.1 parent e887a6d commit 43ba06d
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | | - | |
122 | | - | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
0 commit comments