<?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 Auhtentification issues in Alfresco 6.2 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/auhtentification-issues-in-alfresco-6-2/m-p/121283#M33292</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;(my english is not so great so please be mindful)&lt;BR /&gt;&lt;BR /&gt;A bit of context :&lt;BR /&gt;&lt;BR /&gt;Actually my society has 2 conccurent servers running differents version of Alfresco .&lt;BR /&gt;The server 1 in 5.1 (yes, inda old isn't he ?) -&amp;gt; our production server&lt;BR /&gt;We use http endpoints like&lt;STRONG&gt; /alfresco/s/api/login&lt;/STRONG&gt; to generate authentication tickets&lt;BR /&gt;And in almost all cases the alf_ticket as authentication&lt;BR /&gt;We can read/create/delete/update folders and documents with no issues&lt;BR /&gt;&lt;BR /&gt;The server 2 in 6.2 wich will become our production once it has been fully tested,&lt;BR /&gt;As yu can guess right now we have a small issue with the authentication.&lt;BR /&gt;&lt;BR /&gt;In order :&lt;BR /&gt;To create we use alf_ticket like on 5.1&lt;BR /&gt;&lt;BR /&gt;1 -&amp;nbsp; &lt;A href="http://ip:port/alfresco/s/api/login?u={}&amp;amp;pw=" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/alfresco/s/api/login?u={}&amp;amp;pw=&lt;/A&gt;{}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; A ticket is generated, i could use it to "read" documents but not "create" documents even with admin credentials&lt;BR /&gt;return a "401" unauthorized in postam&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2 - &lt;A href="http://ip:port" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort&lt;/A&gt;&lt;SPAN&gt;/alfresco/api/-default-/public/authentication/versions/1/tickets + body{userId:"",password:""}&lt;BR /&gt;&amp;nbsp; A ticket is generated, the ticket is exactly the same (same ticket id),&amp;nbsp; but this time i can reate (if the account&amp;nbsp; is allowed to ) return 200 ok in Postman&lt;BR /&gt;&lt;BR /&gt;Did this happened to anyone yet ?&lt;BR /&gt;&lt;BR /&gt;Sould we change our external app to call /alfresco/api/-default-/public/authentication/versions/1/tickets ?&lt;BR /&gt;Or &lt;A href="http://ip:port/alfresco/s/api/login" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/alfresco/s/api/login&lt;/A&gt; has been deprecated ?&lt;BR /&gt;&lt;BR /&gt;This concerns me , be cause it seems that the ticket is correctly generated but the rights are not the same when using different methods.&lt;BR /&gt;&lt;BR /&gt;I already thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 09:08:16 GMT</pubDate>
    <dc:creator>GabrielHuyard</dc:creator>
    <dc:date>2022-05-12T09:08:16Z</dc:date>
    <item>
      <title>Auhtentification issues in Alfresco 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/auhtentification-issues-in-alfresco-6-2/m-p/121283#M33292</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;(my english is not so great so please be mindful)&lt;BR /&gt;&lt;BR /&gt;A bit of context :&lt;BR /&gt;&lt;BR /&gt;Actually my society has 2 conccurent servers running differents version of Alfresco .&lt;BR /&gt;The server 1 in 5.1 (yes, inda old isn't he ?) -&amp;gt; our production server&lt;BR /&gt;We use http endpoints like&lt;STRONG&gt; /alfresco/s/api/login&lt;/STRONG&gt; to generate authentication tickets&lt;BR /&gt;And in almost all cases the alf_ticket as authentication&lt;BR /&gt;We can read/create/delete/update folders and documents with no issues&lt;BR /&gt;&lt;BR /&gt;The server 2 in 6.2 wich will become our production once it has been fully tested,&lt;BR /&gt;As yu can guess right now we have a small issue with the authentication.&lt;BR /&gt;&lt;BR /&gt;In order :&lt;BR /&gt;To create we use alf_ticket like on 5.1&lt;BR /&gt;&lt;BR /&gt;1 -&amp;nbsp; &lt;A href="http://ip:port/alfresco/s/api/login?u={}&amp;amp;pw=" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/alfresco/s/api/login?u={}&amp;amp;pw=&lt;/A&gt;{}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; A ticket is generated, i could use it to "read" documents but not "create" documents even with admin credentials&lt;BR /&gt;return a "401" unauthorized in postam&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2 - &lt;A href="http://ip:port" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort&lt;/A&gt;&lt;SPAN&gt;/alfresco/api/-default-/public/authentication/versions/1/tickets + body{userId:"",password:""}&lt;BR /&gt;&amp;nbsp; A ticket is generated, the ticket is exactly the same (same ticket id),&amp;nbsp; but this time i can reate (if the account&amp;nbsp; is allowed to ) return 200 ok in Postman&lt;BR /&gt;&lt;BR /&gt;Did this happened to anyone yet ?&lt;BR /&gt;&lt;BR /&gt;Sould we change our external app to call /alfresco/api/-default-/public/authentication/versions/1/tickets ?&lt;BR /&gt;Or &lt;A href="http://ip:port/alfresco/s/api/login" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ip&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/alfresco/s/api/login&lt;/A&gt; has been deprecated ?&lt;BR /&gt;&lt;BR /&gt;This concerns me , be cause it seems that the ticket is correctly generated but the rights are not the same when using different methods.&lt;BR /&gt;&lt;BR /&gt;I already thank you&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 09:08:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/auhtentification-issues-in-alfresco-6-2/m-p/121283#M33292</guid>
      <dc:creator>GabrielHuyard</dc:creator>
      <dc:date>2022-05-12T09:08:16Z</dc:date>
    </item>
  </channel>
</rss>

