Skip to content

Commit

Permalink
idp/oauth: add RSA-OAEP-256 to the list of acceptable algos
Browse files Browse the repository at this point in the history
  • Loading branch information
greenpau committed Apr 9, 2024
1 parent ae43613 commit 6503af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/idp/oauth/jwks.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (k *JwksKey) Validate() error {
switch k.KeyType {
case "RSA":
switch k.Algorithm {
case "RS256", "RS384", "RS512", "":
case "RS256", "RS384", "RS512", "RSA-OAEP-256", "":
default:
return errors.ErrJwksKeyAlgoUnsupported.WithArgs(k.Algorithm, k.KeyID)
}
Expand Down

0 comments on commit 6503af4

Please sign in to comment.