casa
casa copied to clipboard
Endpoint /api/v1/users/refresh_token generates new access token on request
Part of epic #3942
What type of user does this affect?
- volunteers
How should it operate? ⚙️🛠️
There should now be a api/v1/users/refresh_token route to generate new access tokens (api_token).
Acceptance Criteria
- [ ] Adds
refresh_tokenpost route toapi/v1/(/api/v1/users/refresh_token) - [ ] Regenerates the current
api_tokenand replaces oldapi_token_digestwith hashed version of new token - [ ] Route accepts
refresh_tokenand returnssession_blueprintdata with newapi_token
Helpful Links
can I work on this
can I work on this
Thanks for your interest, but these issues are for the Code the Change team.
This issue has been open without changes for a long time! What's up?