Skip to content

Commit

Permalink
Merge pull request #66 from opendoor-labs/token-issue-ENGBUGS-52663
Browse files Browse the repository at this point in the history
ENGBUGS-52663 : Enable skip Expiry Check
  • Loading branch information
raviaakula authored Nov 18, 2024
2 parents 404ed3c + 0481f47 commit 67dbd97
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 67dbd97

Please sign in to comment.