Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JWT Support to Gateway #15229

Closed
GeorgeMac opened this issue Sep 23, 2019 · 1 comment
Closed

Add JWT Support to Gateway #15229

GeorgeMac opened this issue Sep 23, 2019 · 1 comment
Assignees

Comments

@GeorgeMac
Copy link
Contributor

OSS now allows for JWT token validation in http API. We need to update to this latest version and wire in a signing key in order to validate tokens from future to() transformations.

Steps

  1. Update to version of OSS which support jsonweb package.
  2. Create implementation of jsonweb.KeyStore which provides a signing key from an environment var.
  3. Create suitable environment variable for signing key (e.g. GATEWAY_JWT_SIGNING_KEY).
  4. Configure AuthenticationHandler with a jsonweb.TokenParser which uses env var KeyStore implementation.

Success Criteria

With the appropriate signing key a token can be generated and access authorized via gateway.

@russorat
Copy link
Contributor

russorat commented Nov 6, 2019

fyi @pierwill

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants