Commit 00b72e3
committed
Also make sure audience claims in token contain only strings
The spec mandates that the audience claims must be strings (or a single
string). Without this check, an `audience=None` argument to decode()
would succeeed when the token contained a claim like ['urn:foo', null].1 parent 2b122ea commit 00b72e3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
437 | 439 | | |
438 | 440 | | |
439 | 441 | | |
| |||
0 commit comments