8000 [API] Include username in JWT · Issue #213 · mwmbl/mwmbl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[API] Include username in JWT #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
xynydev opened this issue Nov 16, 2024 · 0 comments
Open

[API] Include username in JWT #213

xynydev opened this issue Nov 16, 2024 · 0 comments

Comments

@xynydev
Copy link
xynydev commented Nov 16, 2024

The middle part of the JWT (the payload) currently contains a four digit user ID, but not the username. Due to this, the frontend has to store the username as a separate cookie and manually keep it in sync with the currently logged in user.

Please do this if possible, but don't prioritize the issue, it's not that urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0