Skip to content

Commit

Permalink
ENGBUGS-52663 Enable skip Expiry Check
Browse files Browse the repository at this point in the history
  • Loading branch information
aagarwal-opendoor committed Nov 18, 2024
1 parent 404ed3c commit 0481f47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/validation/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,8 @@ func parseJwtIssuers(issuers []string, msgs []string) ([]jwtIssuer, []string) {
// a verifier for that issuer.
func newVerifierFromJwtIssuer(jwtIssuer jwtIssuer) (*oidc.IDTokenVerifier, error) {
config := &oidc.Config{
ClientID: jwtIssuer.audience,
ClientID: jwtIssuer.audience,
SkipExpiryCheck: true,
}
// Try as an OpenID Connect Provider first
var verifier *oidc.IDTokenVerifier
Expand Down

0 comments on commit 0481f47

Please sign in to comment.