-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
area/securityIssues related to security capabilities or concernsIssues related to security capabilities or concernsproposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined
Milestone
Description
Overview
When configuring a JWT Policy, the ability to set the "Leeway" is very valuable, as it ensures that JWTs that:
- Are close to being expired, or
- Have been created recently, and is close to the nbf (Not Before) claim, can still be processed.
This is a mechanism to account for potential clock skews.
Acceptance Criteria
- Allow the
auth_jwt_leeway
directive to be configured when deploying ajwt
style policy
Additional Context
Currently, we must use snippets to configure auth_jwt_leeway (see https://nginx.org/en/docs/http/ngx_http_auth_jwt_module.html#auth_jwt_leeway).
It would be very nice if that was configurable directly in the policy resource (see https://docs.nginx.com/nginx-ingress-controller/configuration/policy-resource/#jwt-using-jwks-from-remote-location).
Metadata
Metadata
Assignees
Labels
area/securityIssues related to security capabilities or concernsIssues related to security capabilities or concernsproposalAn issue that proposes a feature requestAn issue that proposes a feature requestready for refinementAn issue that was triaged and it is ready to be refinedAn issue that was triaged and it is ready to be refined
Type
Projects
Status
Prioritized backlog