Skip to content

Commit ecf8daa

Browse files
committed
Merge remote branch 'upstream/master' into code-flow-to-server
2 parents f00a280 + 5aa3d0e commit ecf8daa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

path_config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"github.com/hashicorp/vault/sdk/helper/strutil"
1818
"github.com/hashicorp/vault/sdk/logical"
1919
"golang.org/x/oauth2"
20+
jose "gopkg.in/square/go-jose.v2"
2021
)
2122

2223
const (
@@ -258,7 +259,7 @@ func (b *jwtAuthBackend) pathConfigWrite(ctx context.Context, req *logical.Reque
258259
// default to e.g. "none".
259260
for _, a := range config.JWTSupportedAlgs {
260261
switch a {
261-
case oidc.RS256, oidc.RS384, oidc.RS512, oidc.ES256, oidc.ES384, oidc.ES512, oidc.PS256, oidc.PS384, oidc.PS512:
262+
case oidc.RS256, oidc.RS384, oidc.RS512, oidc.ES256, oidc.ES384, oidc.ES512, oidc.PS256, oidc.PS384, oidc.PS512, string(jose.EdDSA):
262263
default:
263264
return logical.ErrorResponse(fmt.Sprintf("Invalid supported algorithm: %s", a)), nil
264265
}

0 commit comments

Comments
 (0)