-
Notifications
You must be signed in to change notification settings - Fork 486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unauthorized 401 Error Prevents Complete Security Reset (Security Settings -> Complete Security) #7838
Comments
In fact, the process is composed of 2 HTTP requests:
The reauthentication takes place if necessary between the 2 requests. Actually, the backend responds to the 1st request with a success code 200 but without any payload in JSONResponse about the authentication flows, telling the client that it can process without reauthenticating. When the client try the real request, the backend rejects it with an error 401 and with a payload containing the available authentication flows:
Can the bad answer from the 1st request be linked to this backend issue: element-hq/synapse#16943 ? |
Steps to reproduce
Where are you starting? What can you see?
I navigate to the Settings section and then select Security. From here, I can see the Complete Security option.
What do you click?
I click on the Reset button under the Complete Security section.
More steps…
After clicking Reset, an alert appears with the error message: "Request failed, unauthorized 401."
Outcome
What did you expect?
I expected the reset process under Complete Security to complete successfully without any errors.
What hap
element-iOS-401.mov
pened instead?
Instead, I received an alert with the error message: "Request failed, unauthorized 401."
Your phone model
iPhone 14
Operating system version
17.5
Application version
1.11.17
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: