casa icon indicating copy to clipboard operation
casa copied to clipboard

Endpoint /api/v1/users/refresh_token generates new access token on request

Open 7riumph opened this issue 10 months ago • 3 comments

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_token post route to api/v1/ (/api/v1/users/refresh_token)
  • [ ] Regenerates the current api_token and replaces old api_token_digest with hashed version of new token
  • [ ] Route accepts refresh_token and returns session_blueprint data with new api_token

Helpful Links

API Folder Structure Blueprint

7riumph avatar Feb 17 '25 23:02 7riumph

can I work on this

Naraveni avatar Feb 27 '25 19:02 Naraveni

can I work on this

Thanks for your interest, but these issues are for the Code the Change team.

7riumph avatar Feb 28 '25 03:02 7riumph

This issue has been open without changes for a long time! What's up?

github-actions[bot] avatar May 02 '25 02:05 github-actions[bot]