[MXS-4279] "sub" field not set for JWTs Created: 2022-09-07 Updated: 2022-09-08 Resolved: 2022-09-08 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | REST-API |
| Affects Version/s: | 2.5.21, 6.4.2, 22.08.1 |
| Fix Version/s: | 2.5.22, 6.4.3, 22.08.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The JWTs MaxScale generate use the aud field to store the username instead of the sub field which would be more appropriate. This should not be a breaking change as it extends the JWT and only MaxScale uses them. |
| Comments |
| Comment by markus makela [ 2022-09-08 ] |
|
The "sub" field is now used for identifying the user account. The "aud" field still contains the same value for backwards compatibility. |