jwt-go icon indicating copy to clipboard operation
jwt-go copied to clipboard

Support multiple 'aud' values, which auth0 returns

Open dparrish opened this issue 4 years ago • 4 comments

Auth0 returns multiple entries in the aud field, which breaks the parsing of the token which currently expects a single string.

dparrish avatar Mar 03 '20 04:03 dparrish

This feature would be much appreciated. The commits look good to me, maybe @dgrijalva can check them?

rafaribe avatar Apr 14 '20 01:04 rafaribe

I'm hitting this exact issue right now.

mgazza avatar Jun 08 '20 18:06 mgazza

It looks like this is already addressed in v4.0.0-preview1. See the StandardClaims.Audience field, there.

dcormier avatar Jun 09 '20 13:06 dcormier

Duplicate of https://github.com/dgrijalva/jwt-go/pull/286?

mitar avatar Oct 19 '20 17:10 mitar