Closed MJoeWatson closed 3 years ago
I was trying to set SkipClaimsValidation to true, but this seems to be ignored when I when I change the value
p := &jwt.Parser{ SkipClaimsValidation: true, }
token, err := p.ParseWithClaims(tokenString, &CustomClaims{}, func (token *jwt.Token) (interface{}, error) { cert, err := getPemCert(token)
I'm not experienced with Go, so It's unclear to me why this isn't working. Any help would be appreciated. Thanks
I was trying to set SkipClaimsValidation to true, but this seems to be ignored when I when I change the value
p := &jwt.Parser{ SkipClaimsValidation: true, }
token, err := p.ParseWithClaims(tokenString, &CustomClaims{}, func (token *jwt.Token) (interface{}, error) { cert, err := getPemCert(token)
I'm not experienced with Go, so It's unclear to me why this isn't working. Any help would be appreciated. Thanks