Commit 1fa05ee
authored
Add
Fosite validates that a granted audience appears in the
client's own `GetAudience()` list when handling refresh
tokens. The main `setupTestServer` helper registered the
test client without an `Audience` field, so the check
failed with HTTP 400 after the token handler began
defaulting to the sole `AllowedAudience` on the initial
`authorization_code` exchange.
DCR registration always sets `Audience` to `AllowedAudiences`;
align the test fixture with that production behaviour.Audience to authserver test client fixture (#4814)1 parent 25fe475 commit 1fa05ee
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
0 commit comments