jwt-go
jwt-go copied to clipboard
Support multiple 'aud' values, which auth0 returns
Auth0 returns multiple entries in the aud
field, which breaks the parsing of the token which currently expects a single string.
This feature would be much appreciated. The commits look good to me, maybe @dgrijalva can check them?
I'm hitting this exact issue right now.
It looks like this is already addressed in v4.0.0-preview1
. See the StandardClaims.Audience
field, there.
Duplicate of https://github.com/dgrijalva/jwt-go/pull/286?