Skip to content

Commit

Permalink
feat: add default signature algorithms (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
nannany authored May 17, 2024
1 parent 7437309 commit 8a47532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/oidc/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func toJoseSignatureAlgorithms(algorithms []string) []jose.SignatureAlgorithm {
out[i] = jose.SignatureAlgorithm(algorithms[i])
}
if len(out) == 0 {
out = append(out, jose.RS256)
out = append(out, jose.RS256, jose.ES256, jose.PS256)
}
return out
}
Expand Down

0 comments on commit 8a47532

Please sign in to comment.