From 0481f47fe8e7f9a64f3bb486f8e446beec122f71 Mon Sep 17 00:00:00 2001 From: Aman Agarwal Date: Mon, 18 Nov 2024 12:53:57 +0530 Subject: [PATCH] ENGBUGS-52663 Enable skip Expiry Check --- pkg/validation/options.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/validation/options.go b/pkg/validation/options.go index 2e5b884d56..5e1929b33b 100644 --- a/pkg/validation/options.go +++ b/pkg/validation/options.go @@ -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