<?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 REST API returns unauthorized for preview request (renditions) when SSO is enabled in Community 7.3 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130052#M35180</link>
    <description>&lt;P&gt;HI!&lt;/P&gt;&lt;P&gt;Installed Community&amp;nbsp;-&amp;nbsp;7.3.0 (r55faedde-b7346). Everything works fine. But there is a problem with Alfresco Mobile Workspace when preview should be shown.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Windows Server 2022 Standard&lt;BR /&gt;PostgreSql 13&lt;BR /&gt;Alfresco-Search-Service SOLR 6&lt;BR /&gt;ActivityMQ&lt;BR /&gt;Alfresco Local Transformation Service&lt;BR /&gt;Alfresco Content Service 7.3.0&lt;/P&gt;&lt;P&gt;ACS is behind SSL proxy (apache with ajp)&lt;/P&gt;&lt;P&gt;ACS is configured with Kerberos SSO and SSO is enabled:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kerberos.authentication.sso.enabled=&lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Everything is working fine. SSO in Browser for share works. SSO to WEBDAV and AOS is fine. Preview in Share is shown. Thumbnails in Share are shown.&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;Alfresco Mobile Workspace&lt;/STRONG&gt; (IOS &amp;amp; Android) - current versions from store - everything works fine. Only the preview is not working. Selecting an image (jpg) shows the picture. Selecting a PDF, DOC or XLS opens the preview. Under android an 401 error is schown. In IOS a blank screen is shown. There is no error in alfresco.log. Apache log (ssl proxy) gives following info:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[04/Jan/2023:13:29:37 +0100] "GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/88d113df-52ed-486a-9b42-00a315b261a7/renditions/pdf/content?attachment=false&amp;amp;alf_ticket=TICKET_e460dec7d22170c9eca890abcb2de6a37c153fdc HTTP/1.1" &lt;STRONG&gt;200&lt;/STRONG&gt; 79630 "-" "ContentApp/1.5.0 (com.alfresco.contentapp; build:1791; iOS 16.2.0) Alamofire/1.5.0"&lt;BR /&gt;[04/Jan/2023:13:29:37 +0100] "GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/88d113df-52ed-486a-9b42-00a315b261a7/renditions/pdf/content?attachment=false&amp;amp;alf_ticket=TICKET_e460dec7d22170c9eca890abcb2de6a37c153fdc HTTP/1.0" &lt;STRONG&gt;401&lt;/STRONG&gt; 4875 "-" "ContentApp/1791 CFNetwork/1402.0.8 Darwin/22.2.0"&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So result of the call is 401 (unauthorized). The creation of the preview works fine (first line). Authentication with ticket is working.&lt;/P&gt;&lt;P&gt;Setting SSO to off with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kerberos.authentication.sso.enabled=&lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Restarting ACS.&lt;/P&gt;&lt;P&gt;Everything works fine. Instead of 401 result a 200 result is returned and preview works in Mobile Workspace.&lt;/P&gt;&lt;P&gt;Hope someone can give some useful hints ...&lt;/P&gt;&lt;P&gt;THX Michael&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2023 12:36:56 GMT</pubDate>
    <dc:creator>mroedlach</dc:creator>
    <dc:date>2023-01-04T12:36:56Z</dc:date>
    <item>
      <title>REST API returns unauthorized for preview request (renditions) when SSO is enabled in Community 7.3</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130052#M35180</link>
      <description>&lt;P&gt;HI!&lt;/P&gt;&lt;P&gt;Installed Community&amp;nbsp;-&amp;nbsp;7.3.0 (r55faedde-b7346). Everything works fine. But there is a problem with Alfresco Mobile Workspace when preview should be shown.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Windows Server 2022 Standard&lt;BR /&gt;PostgreSql 13&lt;BR /&gt;Alfresco-Search-Service SOLR 6&lt;BR /&gt;ActivityMQ&lt;BR /&gt;Alfresco Local Transformation Service&lt;BR /&gt;Alfresco Content Service 7.3.0&lt;/P&gt;&lt;P&gt;ACS is behind SSL proxy (apache with ajp)&lt;/P&gt;&lt;P&gt;ACS is configured with Kerberos SSO and SSO is enabled:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kerberos.authentication.sso.enabled=&lt;STRONG&gt;true&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Everything is working fine. SSO in Browser for share works. SSO to WEBDAV and AOS is fine. Preview in Share is shown. Thumbnails in Share are shown.&lt;/P&gt;&lt;P&gt;In &lt;STRONG&gt;Alfresco Mobile Workspace&lt;/STRONG&gt; (IOS &amp;amp; Android) - current versions from store - everything works fine. Only the preview is not working. Selecting an image (jpg) shows the picture. Selecting a PDF, DOC or XLS opens the preview. Under android an 401 error is schown. In IOS a blank screen is shown. There is no error in alfresco.log. Apache log (ssl proxy) gives following info:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[04/Jan/2023:13:29:37 +0100] "GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/88d113df-52ed-486a-9b42-00a315b261a7/renditions/pdf/content?attachment=false&amp;amp;alf_ticket=TICKET_e460dec7d22170c9eca890abcb2de6a37c153fdc HTTP/1.1" &lt;STRONG&gt;200&lt;/STRONG&gt; 79630 "-" "ContentApp/1.5.0 (com.alfresco.contentapp; build:1791; iOS 16.2.0) Alamofire/1.5.0"&lt;BR /&gt;[04/Jan/2023:13:29:37 +0100] "GET /alfresco/api/-default-/public/alfresco/versions/1/nodes/88d113df-52ed-486a-9b42-00a315b261a7/renditions/pdf/content?attachment=false&amp;amp;alf_ticket=TICKET_e460dec7d22170c9eca890abcb2de6a37c153fdc HTTP/1.0" &lt;STRONG&gt;401&lt;/STRONG&gt; 4875 "-" "ContentApp/1791 CFNetwork/1402.0.8 Darwin/22.2.0"&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;So result of the call is 401 (unauthorized). The creation of the preview works fine (first line). Authentication with ticket is working.&lt;/P&gt;&lt;P&gt;Setting SSO to off with:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;kerberos.authentication.sso.enabled=&lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Restarting ACS.&lt;/P&gt;&lt;P&gt;Everything works fine. Instead of 401 result a 200 result is returned and preview works in Mobile Workspace.&lt;/P&gt;&lt;P&gt;Hope someone can give some useful hints ...&lt;/P&gt;&lt;P&gt;THX Michael&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 12:36:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130052#M35180</guid>
      <dc:creator>mroedlach</dc:creator>
      <dc:date>2023-01-04T12:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API returns unauthorized for preview request (renditions) when SSO is enabled in Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130053#M35181</link>
      <description>&lt;P&gt;Anyone with some suggestions for that problem?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 10:17:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130053#M35181</guid>
      <dc:creator>mroedlach</dc:creator>
      <dc:date>2023-03-17T10:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: REST API returns unauthorized for preview request (renditions) when SSO is enabled in Community</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130054#M35182</link>
      <description>&lt;P&gt;Hey, we got exactly the same problem with Alfresco Enterprise v.6.2. If Kerberos SSO is disabled, everything works, if it's enabled pdf Previews don't work, only previews for images.&lt;/P&gt;&lt;P&gt;Is there really nobody with a solution out here? Did you find any solution last months &lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/38945"&gt;@mroedlach&lt;/A&gt; ?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 15:56:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-returns-unauthorized-for-preview-request-renditions/m-p/130054#M35182</guid>
      <dc:creator>donny</dc:creator>
      <dc:date>2023-11-28T15:56:52Z</dc:date>
    </item>
  </channel>
</rss>

