Description
Preserve white listed url params during logout.
Now, when the app receives a 401 from backend, it logouts user automatically and the url params are removed. In some cases we want to preserve this parameters, such as when the login fails and we want to redirect to the application's opening screen with a successful login.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
- Enter to an url as [BASE_URL]/login?universalLink=true, fail the login, and check that the params still in the url.