fix(security): restrict refresh token scope #103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This helps secure the refresh token to only be transmitted when the appropriate endpoint is used. See also
https://junkangworld.com/blog/the-definitive-guide-to-refreshing-httponly-tokens#implementation-flow
Will have to handle the middleware as it currently uses the presence/absence of refresh token in the logic.
It is important that the refresh process stays functional.