Skip to content

Commit

Permalink
add default signature algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
nannany committed May 7, 2024
1 parent 6d1231c commit 46ecf9a
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 46ecf9a

Please sign in to comment.