mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-28 05:59:10 +02:00
jws: remove issuer (#1754)
This commit is contained in:
parent
e3b4c6d597
commit
b16236496b
12 changed files with 18 additions and 23 deletions
|
@ -160,7 +160,7 @@ var serviceAccountCmd = &cobra.Command{
|
|||
}
|
||||
serviceAccountOptions.serviceAccount.ID = sa.GetId()
|
||||
|
||||
encoder, err := jws.NewHS256Signer([]byte(sharedKey), serviceAccountOptions.serviceAccount.Issuer)
|
||||
encoder, err := jws.NewHS256Signer([]byte(sharedKey))
|
||||
if err != nil {
|
||||
return fmt.Errorf("bad shared key: %w", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue