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
{{ message }}
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.
Currently when using OAuth, in order to get the JWT we generate back to the client, we shove it in a cookie called feathers-jwt. The client then parses the JWT from the cookie and uses this JWT to authenticate with the API going forward.
In theory, in addition to checking the Authorization header, query sting, or request/socket body we could also check the feathers-jwt cookie to see if it is expired and if not grab the token.
Now that I think about this, this is actually pretty easy and should just be a couple lines added right in this middleware.
The text was updated successfully, but these errors were encountered:
Currently when using OAuth, in order to get the JWT we generate back to the client, we shove it in a cookie called
feathers-jwt
. The client then parses the JWT from the cookie and uses this JWT to authenticate with the API going forward.In theory, in addition to checking the
Authorization
header, query sting, or request/socketbody
we could also check thefeathers-jwt
cookie to see if it is expired and if not grab the token.Now that I think about this, this is actually pretty easy and should just be a couple lines added right in this middleware.
The text was updated successfully, but these errors were encountered: