Store user infos in the JWT tokens #12
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Currently, logged in user infos are available through the endpoint at
/api/user/current
. These info can be stored in the JWT token themselves, which reduce the amount of request to the server and the network usage. It will also simplify the authentication in the frontend.