<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with switching user on Share with external authentication. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-switching-user-on-share-with-external/m-p/16552#M7339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test was done by using Modify Headers plugin for the browser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sso‌external authentication#&lt;A href="https://migration33.stage.lithium.com/t5/tag/alfresco community edition 5.1/tg-p"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Apr 2017 08:13:00 GMT</pubDate>
    <dc:creator>milos_tatarevic</dc:creator>
    <dc:date>2017-04-24T08:13:00Z</dc:date>
    <item>
      <title>Problem with switching user on Share with external authentication.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-switching-user-on-share-with-external/m-p/16552#M7339</link>
      <description>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</description>
      <pubDate>Mon, 24 Apr 2017 08:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-switching-user-on-share-with-external/m-p/16552#M7339</guid>
      <dc:creator>milos_tatarevic</dc:creator>
      <dc:date>2017-04-24T08:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with switching user on Share with external authentication.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/problem-with-switching-user-on-share-with-external/m-p/16553#M7340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct that you will need to logout of both Alfresco/Share and the SSO system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit tricky to replace the menu item and somewhat depends on which version you are running and your SSO system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example of how you could do it for CAS is here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/wrighting/alfresco-cas/blob/master/alfresco-cas-share-amp/src/main/resources/alfresco/web-extension/site-webscripts/org/wrighting/alfresco/usermenu/share-header.get.js" title="https://github.com/wrighting/alfresco-cas/blob/master/alfresco-cas-share-amp/src/main/resources/alfresco/web-extension/site-webscripts/org/wrighting/alfresco/usermenu/share-header.get.js" rel="nofollow noopener noreferrer"&gt;alfresco-cas/share-header.get.js at master · wrighting/alfresco-cas · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 14:05:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/problem-with-switching-user-on-share-with-external/m-p/16553#M7340</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2017-05-02T14:05:20Z</dc:date>
    </item>
  </channel>
</rss>

