-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 8.10
-
Component/s: Login Page
-
Sprint:nxfit 8.10.1, nxfit 8.10.2
-
Story Points:3
For instance:
- Enter http://webui.demo.nuxeo.com/nuxeo/ui/?language=fr#!/browse/default-domain/workspaces/Specifications
- Log in, you get redirected to http://webui.demo.nuxeo.com/nuxeo/ui/#!/browse/default-domain@view
This is because the #!/browse/default-domain/workspaces/Specifications part of the URL is not sent to the server, so HttpServletRequest#getRequestURI() doesn't fetch it in NuxeoAuthenticationFilter#saveRequestedURLBeforeRedirect.
We should find a way to handle such a redirection.
Yet if we find a way there will still be an issue in NuxeoAuthenticationFilter#saveRequestedURLBeforeRedirect:
// avoid redirect if not useful if (requestPage.startsWith(LoginScreenHelper.getStartupPagePath())) { return true; }
Let's say that
requestPage = ui/#!/browse/default-domain@view
Since
LoginScreenHelper.getStartupPagePath() = "ui/"
the redirection won't occur.
This works with a jSF URL like
http://webui.demo.nuxeo.com/nuxeo/nxpath/default/default-domain/workspaces/Specifications@view_documents?tabIds=MAIN_TABS%3Adocuments%2C%3A
because nxpath doesn't start with nxstartup.faces.
- is related to
-
NXP-22760 Using Direct link with WebUI and SAML2 does not work
- Resolved