Open
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
Type
Projects
Status
Prioritized backlog