We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5177f commit 9d8b326Copy full SHA for 9d8b326
jwt/model.go
@@ -33,6 +33,7 @@ type WebToken struct {
33
34
// New retrieves a new WebToken from an id_token string provided by OpenID communication
35
// When not able to parse or deserialize the requested claims, it will return an error
36
+// JWT Claims are parsed without verification, ensure properer JWT verification before calling this function, eg. with istio
37
func New(idToken string, signatureAlgorithms []jose.SignatureAlgorithm) (webToken WebToken, err error) {
38
token, parseErr := jwt.ParseSigned(idToken, signatureAlgorithms)
39
if parseErr != nil {
0 commit comments