feat(auth): add /users/me DELETE endpoint #89

Open
opened 2025-10-05 13:20:23 +00:00 by chartgerink · 0 comments
Owner

In order to streamline deletion of the account, this issue tracks the addition of a /users/me DELETE endpoint, that uses the claims in the access token to identify which account to delete. Maybe we do this with the refresh token instead, to secure the route slightly because that is used less (ideal). If we use access token first, because the refresh token should be consumed upon any usage, a PR should be joined with an issue to track the refactor to switch it out :)

In order to streamline deletion of the account, this issue tracks the addition of a `/users/me` DELETE endpoint, that uses the claims in the access token to identify which account to delete. Maybe we do this with the refresh token instead, to secure the route slightly because that is used less (ideal). If we use access token first, because the refresh token should be consumed upon **any** usage, a PR should be joined with an issue to track the refactor to switch it out :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: researchequals/api#89
No description provided.