mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
authorize: move sign out and jwks urls to route, update issuer for JWT (#4046)
* authorize: move sign out and jwks urls to route, update issuer for JWT * fix test
This commit is contained in:
parent
376bfe053d
commit
1dee325b72
10 changed files with 36 additions and 34 deletions
|
@ -17,7 +17,6 @@ import (
|
|||
"github.com/pomerium/pomerium/internal/httputil"
|
||||
"github.com/pomerium/pomerium/internal/log"
|
||||
"github.com/pomerium/pomerium/internal/telemetry/trace"
|
||||
"github.com/pomerium/pomerium/internal/urlutil"
|
||||
"github.com/pomerium/pomerium/pkg/contextutil"
|
||||
"github.com/pomerium/pomerium/pkg/cryptutil"
|
||||
"github.com/pomerium/pomerium/pkg/policy/criteria"
|
||||
|
@ -204,12 +203,6 @@ func (e *Evaluator) updateStore(cfg *evaluatorConfig) error {
|
|||
return fmt.Errorf("authorize: couldn't create signer: %w", err)
|
||||
}
|
||||
|
||||
authenticateURL, err := urlutil.ParseAndValidateURL(cfg.authenticateURL)
|
||||
if err != nil {
|
||||
return fmt.Errorf("authorize: invalid authenticate URL: %w", err)
|
||||
}
|
||||
|
||||
e.store.UpdateIssuer(authenticateURL.Host)
|
||||
e.store.UpdateGoogleCloudServerlessAuthenticationServiceAccount(
|
||||
cfg.googleCloudServerlessAuthenticationServiceAccount,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue