Skip to content

NGINX Plus: Local JWT Validation #835

Open
@mpstefan

Description

@mpstefan

As a cluster operator using NGF
I want to block any traffic without a valid JWT on the request
So that I can ensure all of my traffic on my authenticated endpoints are authenticated.

Background

As our first pass at authentication and authorization, we want to provide a first-class mechanism to validate JSON Web Tokens using a local key. This is a high use feature especially for larger organizations using NGINX Plus, to be immediately followed by OpenID Connect support for remote key retrieval.

Not included in this epic:

  • JWT Authorization - validating specific fields or scopes within a JWT
  • OpenID Connect or remote jwks support

Acceptance Criteria

  • NGF users are able to add a filter for HTTPRoutes for JWT authentication specifying a local JWT file
  • Any http/https requests that match for the HTTPRoute with enabled JWT authentication are validated against the configured JWT key file and rejected if the JWT fails validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicRepresents an epic. Contains sub-issues

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions