Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

"Requested operation has changed during the UI authentication session." shouldn't be raised if only the query string changes #7722

Open
babolivier opened this issue Jun 18, 2020 · 3 comments
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-auth (Deprecated Label) z-bug (Deprecated Label) z-p2 (Deprecated Label)

Comments

@babolivier
Copy link
Contributor

#7483 changed the condition under which the "Requested operation has changed during the UI authentication session." error raised so that it's only raised if the (method, uri) changes during UIA.

This means that if e.g. I initiate a registration with POST /register but ends it with POST /register?kind=user, which is the same operation, the registration fails.

Ideally this condition should be changed to omit the query string from the uri, but we should first check if that doesn't introduce any issue (e.g. if the UIA operation is passed in the query string in some cases - which I don't think it is, but we should probably make sure of that).

@babolivier babolivier changed the title "Requested operation has changed during the UI authentication session." shouldn't be sent if only the query string changes "Requested operation has changed during the UI authentication session." shouldn't be raised if only the query string changes Jun 18, 2020
@clokep
Copy link
Member

clokep commented Jun 18, 2020

We also need to make sure that things like device IDs, etc. are not part of the query string, but part of the path.

@clokep clokep added z-auth (Deprecated Label) z-bug (Deprecated Label) labels Jun 18, 2020
@clokep
Copy link
Member

clokep commented Jun 18, 2020

@babolivier Any idea how much of an impact this might have?

@babolivier
Copy link
Contributor Author

babolivier commented Jun 18, 2020

I don't think this is impacting many clients - the main reason I found out about that is because the web version of Tchap has this issue (because of some code specific to Tchap, though, so not an issue with Riot web).

@clokep clokep added the z-p2 (Deprecated Label) label Jun 18, 2020
@reivilibre reivilibre added S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Major Major functionality / product severely impaired, no satisfactory workaround. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-auth (Deprecated Label) z-bug (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants