04-24-2017 04:13 AM
I am trying to set up SSO access to Share by using external authentication. I have followed official docs page for configuring external auth with custom header. Initially everything seems to work as expected but than I found that I was unable to access dahsboard page when switching from one user to another. When Share is accessed with the first user dashboard is show fine, but when i try to access Share with different user right after that dashboard page access produces infinite redirect loop.
The source of this seems to be in UserDashboardInterceptor class, where userid from the page URL ("user/user2/dashboard") is different from the userid found in the RequestContext (which is still "user1").
It feels like there should be some kind of logout action performed, but the default logout is disabled when external authentication is used. Is there any way to make this work?
Test was done by using Modify Headers plugin for the browser.
05-02-2017 10:05 AM
You are correct that you will need to logout of both Alfresco/Share and the SSO system.
It's a bit tricky to replace the menu item and somewhat depends on which version you are running and your SSO system.
An example of how you could do it for CAS is here: alfresco-cas/share-header.get.js at master · wrighting/alfresco-cas · GitHub
05-02-2017 10:05 AM
You are correct that you will need to logout of both Alfresco/Share and the SSO system.
It's a bit tricky to replace the menu item and somewhat depends on which version you are running and your SSO system.
An example of how you could do it for CAS is here: alfresco-cas/share-header.get.js at master · wrighting/alfresco-cas · GitHub
Explore our Alfresco products with the links below. Use labels to filter content by product module.