Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

AUTH: Set JWT cookie on successful login #11

Open
1 of 3 tasks
kevinmichaelchen opened this issue Jan 25, 2018 · 0 comments
Open
1 of 3 tasks

AUTH: Set JWT cookie on successful login #11

kevinmichaelchen opened this issue Jan 25, 2018 · 0 comments

Comments

@kevinmichaelchen
Copy link
Member

kevinmichaelchen commented Jan 25, 2018

After successful login:

  • Look up user groups and set on JWT
  • Set cookie
  • authenticate endpoints

Before each endpoint is invoked, we intercept the cookie (using Golang's context) and verify the JWT is present.

https://github.com/auth0/go-jwt-middleware

@kevinmichaelchen kevinmichaelchen changed the title jwt middleware Set JWT cookie after successful login Feb 11, 2018
@kevinmichaelchen kevinmichaelchen changed the title Set JWT cookie after successful login Authentication with JWT cookie (set cookie on response, verify cookie on request) Feb 11, 2018
@kevinmichaelchen kevinmichaelchen changed the title Authentication with JWT cookie (set cookie on response, verify cookie on request) AUTH: Set JWT cookie with claims. Add authentication to endpoints. Feb 20, 2018
@kevinmichaelchen kevinmichaelchen changed the title AUTH: Set JWT cookie with claims. Add authentication to endpoints. AUTH: Set JWT cookie on successful login Jul 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant