Authentication (Token verification) failing
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 2.8k
- Forks
- 334
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 50
Description
About 5pm CEST I had connectivity issues with wire backend on both desktop / webapp and mobile. After a while, I got logged out from the Desktop app and wasn't able to login anymore.
I've looked at what requests were made and which failed and I've found out that login works fine as well, the token was received but another call to /self returned 420 error code which was displayed on the app as "Unexpected error". The same behavior I have on your webapp.
I've noticed that about 2 hours ago some changes regarding tokens were merged to the branch and that was also the time where the issues started. It's quite a high priority as I cannot access any of wire services requiring auth token.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failed authenticated request to the /self endpoint and inspect the token-verification changes merged around the reported incident. Trace where the 420 response becomes the app's "Unexpected error"; done means valid login tokens allow /self and authenticated Wire services to load successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100