mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-02 16:30:17 +02:00
jws: remove issuer (#1754)
This commit is contained in:
parent
e3b4c6d597
commit
b16236496b
12 changed files with 18 additions and 23 deletions
|
@ -33,11 +33,7 @@ func newAuthorizeStateFromConfig(cfg *config.Config, store *evaluator.Store) (*a
|
|||
return nil, fmt.Errorf("authorize: failed to update policy with options: %w", err)
|
||||
}
|
||||
|
||||
var host string
|
||||
if cfg.Options.AuthenticateURL != nil {
|
||||
host = cfg.Options.AuthenticateURL.Host
|
||||
}
|
||||
state.encoder, err = jws.NewHS256Signer([]byte(cfg.Options.SharedKey), host)
|
||||
state.encoder, err = jws.NewHS256Signer([]byte(cfg.Options.SharedKey))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue