Is it possible to parse JWT without verifying signature?
theliuk opened this issue · comments
theliuk commented
I'd like to parse a JWT without verifying its signature.
I tried
parser := jwt.NewParser(jwt.WithLeeway(leeway))
_, err := parser.ParseWithClaims(j, claims, nil)
but I get error with message token is unverifiable: no keyfunc was provided"
.
Is there a way to parse it without checking the signature?