Commit ca02e89
authored
Added the basic client scope so tokens carry a sub claim (#8)
Keycloak 19+ moved the sub claim into the built-in basic client scope, which the
realm never defined (it only had groups/profile/email), so issued tokens had no
subject and the backend rejected every authenticated call with "No authenticated
user". Define the basic scope (sub + auth_time), make it a realm default and
assign it to schuly-app.1 parent 2682966 commit ca02e89
1 file changed
Lines changed: 24 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
27 | 49 | | |
28 | 50 | | |
29 | 51 | | |
| |||
124 | 146 | | |
125 | 147 | | |
126 | 148 | | |
127 | | - | |
| 149 | + | |
128 | 150 | | |
129 | 151 | | |
130 | 152 | | |
| |||
0 commit comments