-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!(frontend): reload the page on login / logout success (#2432) (C…
…P: 24.4) (#2481) feat!(frontend): reload the page on login / logout success (#2432) * refactor: prefer full page reload instead of AJAX request on logout * Revert "refactor: prefer full page reload instead of AJAX request on logout" This reverts commit 47880c1. * fix: reload the page on login / logout success * fix: restore Spring CSRF handling * fix: normalize redirect as path * test: prevent flackyness of parallel security tests * fix(frontend): support context path in redirects * chore: cleanup * test(security): verify server-side logout redirect location * test(security): make tests more reliable * fix: normalize default redirect URL * test(security): expect page reload from API * chore: Java formatting * fix: more accurate normalize url * test(security): extra wait for page load * test(security): extra wait for page load * test(security): extra wait for page load * test(security): more explicit load waiting * chore: cleanup * test(security): fix load waiting * chore: Java formatting * test: add implicit wait * test: rollback asserting path, use builtin wait for main-view * test: assertin path using script * fix: reload with url mapping * test: wait for invalid session reloads * chore: remove test logger * test: extra wait on open * Revert "test: prevent flackyness of parallel security tests" This reverts commit 77721ae. * fix(frontend): prevent following requests when pageReloadNavigation is in use * Revert "test: add implicit wait" This reverts commit ed7d66d. * feat!(frontend): onSuccess login / logout callbacks for custom after-flows * test: use onSuccess callbacks * test: wait for load when asserting current URL * test: apply url mapping to logout path * chore(frontend): remove unnecessary .toString() * feat(frontend): support URL in login / logout options --------- Co-authored-by: Vlad Rindevich <vladrin@vaadin.com> Co-authored-by: Anton Platonov <platosha@gmail.com> Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
- Loading branch information
1 parent
598ee97
commit e604146
Showing
9 changed files
with
179 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.