You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Disclaimer: I do not use this project, just happened to stumble upon it and see a potential issue (one that I had seen previously when dealing with JWTs in another language).
RegisteredClaims has audience as an Option<String>, however the JWT spec states it can also be an array of values
eg both of these are valid, but the code looks like it only handles the first case:
{ "aud": "a" }
{ "aud": [ "a", "b", "c"] }
The text was updated successfully, but these errors were encountered:
Disclaimer: I do not use this project, just happened to stumble upon it and see a potential issue (one that I had seen previously when dealing with JWTs in another language).
RegisteredClaims has audience as an
Option<String>
, however the JWT spec states it can also be an array of valueseg both of these are valid, but the code looks like it only handles the first case:
The text was updated successfully, but these errors were encountered: