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

JWT functionality #6

Open
4 tasks
jmelchio opened this issue Apr 18, 2019 · 0 comments
Open
4 tasks

JWT functionality #6

jmelchio opened this issue Apr 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@jmelchio
Copy link
Owner

Summary:

Need the ability to create a JWT (json web token) to return to a user when logging in to the system.

Details:

  • Create new token upon login. Token should contain a username and TTL at least. May need to have an indicator to indicate if the user has special privileges.
  • Check token when making requests and return code that indicates the need for a login request when the token is missing or has expired.
  • Do a token refresh when requests come in with valid tokens. Tokens should have a short TTL but refresh should be automatic in most cases.
  • Provide a wrapper http handler to provide the token check and refresh.

See Article for sample code.

@jmelchio jmelchio added the enhancement New feature or request label Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant