lynndylanhurley / lynndylanhurley/devise_token_auth
New uid is not returned.
Open
confirmed
- Dominant language
- Ruby
- Stars
- 3.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: v0.1.43 / master
Hi ! I found a little bug: when changing headers on each request and making batch requests, updating the email of the current user ends in 401 Unauthorized because the uid (email) changed and the headers aren't returned (batch).
Contributor guide
Research direction
Start by reproducing a batch request that updates the current user's email while changing headers on each request, then trace where the response headers are assembled. Done means the updated uid is returned after the email change and the subsequent request no longer receives 401 Unauthorized.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100