You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refresh tokens are typically not a JWT; this kinda defeats the purpose of using refresh tokens. usually it's just a random string that you store in db
storing access token in a client side cookie can be a no-no because then it's vulnerable to XSS, but in practice, a lot of people do this. i try to store access token in-memory only, and just follow the refresh token to obtain one whenever the app is loaded
refreshToken cookie should probably have Secure flag
returning access token in the Authorization header of the response is a bit unorthodox; consider moving it to the response body
here's some notes from me poking around the authentication code
SecureflagAuthorizationheader of the response is a bit unorthodox; consider moving it to the response body