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
I could access a new access token using just a simple uuid string given as a refresh-token upon login. This is a dangerous bug that needs quick fix.
Concerned endpoints
/user/refresh_token
/user/login
Steps to reproduce the problem
POST request to the first concerned endpoint
Screenshot (If applicable)
Expected behavior
Refresh token should be a JWT string that is encoded by server and decoded with server secret upon POST request to the first concerned endpoint. This is crucial to maintain security, so that accounts won't be compromised.
Solution
Return refresh token (JWT) upon login alongside access token(JWT) and decode refresh token upon access to the first concerned endpoint
The text was updated successfully, but these errors were encountered:
Describe the problem
I could access a new access token using just a simple uuid string given as a refresh-token upon login. This is a dangerous bug that needs quick fix.
Concerned endpoints
/user/refresh_token
/user/login
Steps to reproduce the problem
Screenshot (If applicable)
Expected behavior
Refresh token should be a JWT string that is encoded by server and decoded with server secret upon POST request to the first concerned endpoint. This is crucial to maintain security, so that accounts won't be compromised.
Solution
The text was updated successfully, but these errors were encountered: