<?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 Support for JWT / OAuth SSO on Alfresco Community Content Repository in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133348#M35923</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using Alfresco Community Content Repository as document storage for our Angular Application. The application is part of the ecosystem where in order to login into the Angular Application, Apereo CAS server (Authentication / Authorisation Server) provides us a JWT. This JWT is then appended into header as Bearer Token in order to access various microservices that reside behind Netflix Zuul Gateway.&lt;/P&gt;&lt;P&gt;I have added Alfresco Community Content Repository to the ecosystem and want to configure it such as that the existing token in the header allows access to REST APIs which I will use from Angular Application for document storage.&lt;/P&gt;&lt;P&gt;Based on the documentation here (&lt;A href="https://docs.alfresco.com/content-services/community/admin/auth-sync/#authentication-subsystems" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/community/admin/auth-sync/#authentication-subsystems&lt;/A&gt;) my choices when using Alfresco Community are limited i.e. it does not include identity service or oauth. Even when I choose ACS 7.0 it offers idenity service as choice but not oauth.&lt;/P&gt;&lt;P&gt;Additionally, APS 1.11 (which I believe is Enterprise item) (&lt;A href="https://docs.alfresco.com/process-services/latest/config/authenticate/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/process-services/latest/config/authenticate/&lt;/A&gt;) offers identity-service and oauth as authentication mechanism. However, I do not know how does configuring APS will as OAUTH will allow for access to Alfresco Community Repository from my application.&lt;/P&gt;&lt;P&gt;Is the above possible or not? Have I got a wrong end of the stick?&lt;/P&gt;&lt;P&gt;I have also looked at (&lt;A href="https://github.com/dgradecak/alfresco-jwt-auth" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/dgradecak/alfresco-jwt-auth&lt;/A&gt;) for allowing Alfresco community repository to respect JWT in header and that worked fine. Problem in that identity service properties used for Alfresco Community Repository require a fixed set of minimum claims, where of the claim is 'iss' issuer of the token. The Alfresco Community repository expects token to have iss of the shape http(s)://&amp;lt;servername&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;context&amp;gt;/realms/&amp;lt;realm-name&amp;gt;. This is very much aligned with Keycloak (where realms are created under master realm). In other (including CAS Apereo) Authorisation Servers, realms are not within iss URL. According to (&lt;A href="https://docs.alfresco.com/identity-service/1.2/tutorial/sso/saml/#step-6-configure-alfresco-content-services-properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/identity-service/1.2/tutorial/sso/saml/#step-6-configure-alfresco-content-services-properties&lt;/A&gt;) Alfresco Community Repository defaults realms following (identity-service.realm=alfresco ), hence it becomes unusable for other identity services. Even if the realm is marked as blank the expected URL for iss is expected as&amp;nbsp;http(s)://&amp;lt;servername&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;context&amp;gt;/realms/ which is unusable as realms still exists in URL.&lt;/P&gt;&lt;P&gt;Are there any solutions or work arounds to get around this issue?&lt;/P&gt;&lt;P&gt;It is shame the identity service properties is so strict and do not offer flexibility.&lt;/P&gt;&lt;P&gt;I am excited to hear your comments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jun 2021 16:58:24 GMT</pubDate>
    <dc:creator>manurajsingh</dc:creator>
    <dc:date>2021-06-03T16:58:24Z</dc:date>
    <item>
      <title>Support for JWT / OAuth SSO on Alfresco Community Content Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133348#M35923</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I am using Alfresco Community Content Repository as document storage for our Angular Application. The application is part of the ecosystem where in order to login into the Angular Application, Apereo CAS server (Authentication / Authorisation Server) provides us a JWT. This JWT is then appended into header as Bearer Token in order to access various microservices that reside behind Netflix Zuul Gateway.&lt;/P&gt;&lt;P&gt;I have added Alfresco Community Content Repository to the ecosystem and want to configure it such as that the existing token in the header allows access to REST APIs which I will use from Angular Application for document storage.&lt;/P&gt;&lt;P&gt;Based on the documentation here (&lt;A href="https://docs.alfresco.com/content-services/community/admin/auth-sync/#authentication-subsystems" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/content-services/community/admin/auth-sync/#authentication-subsystems&lt;/A&gt;) my choices when using Alfresco Community are limited i.e. it does not include identity service or oauth. Even when I choose ACS 7.0 it offers idenity service as choice but not oauth.&lt;/P&gt;&lt;P&gt;Additionally, APS 1.11 (which I believe is Enterprise item) (&lt;A href="https://docs.alfresco.com/process-services/latest/config/authenticate/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/process-services/latest/config/authenticate/&lt;/A&gt;) offers identity-service and oauth as authentication mechanism. However, I do not know how does configuring APS will as OAUTH will allow for access to Alfresco Community Repository from my application.&lt;/P&gt;&lt;P&gt;Is the above possible or not? Have I got a wrong end of the stick?&lt;/P&gt;&lt;P&gt;I have also looked at (&lt;A href="https://github.com/dgradecak/alfresco-jwt-auth" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/dgradecak/alfresco-jwt-auth&lt;/A&gt;) for allowing Alfresco community repository to respect JWT in header and that worked fine. Problem in that identity service properties used for Alfresco Community Repository require a fixed set of minimum claims, where of the claim is 'iss' issuer of the token. The Alfresco Community repository expects token to have iss of the shape http(s)://&amp;lt;servername&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;context&amp;gt;/realms/&amp;lt;realm-name&amp;gt;. This is very much aligned with Keycloak (where realms are created under master realm). In other (including CAS Apereo) Authorisation Servers, realms are not within iss URL. According to (&lt;A href="https://docs.alfresco.com/identity-service/1.2/tutorial/sso/saml/#step-6-configure-alfresco-content-services-properties" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/identity-service/1.2/tutorial/sso/saml/#step-6-configure-alfresco-content-services-properties&lt;/A&gt;) Alfresco Community Repository defaults realms following (identity-service.realm=alfresco ), hence it becomes unusable for other identity services. Even if the realm is marked as blank the expected URL for iss is expected as&amp;nbsp;http(s)://&amp;lt;servername&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;context&amp;gt;/realms/ which is unusable as realms still exists in URL.&lt;/P&gt;&lt;P&gt;Are there any solutions or work arounds to get around this issue?&lt;/P&gt;&lt;P&gt;It is shame the identity service properties is so strict and do not offer flexibility.&lt;/P&gt;&lt;P&gt;I am excited to hear your comments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 16:58:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133348#M35923</guid>
      <dc:creator>manurajsingh</dc:creator>
      <dc:date>2021-06-03T16:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: Support for JWT / OAuth SSO on Alfresco Community Content Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133349#M35924</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/85963"&gt;@manurajsingh&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/37735"&gt;@daniel_gradecak&lt;/A&gt;&amp;nbsp;recently did an Alfresco Tech Talk Live on&amp;nbsp; &lt;A title="opens in a new tab" href="https://www.alfresco.com/events/webinars/alfresco-tech-talk-live-127" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco &amp;amp; JWT&lt;/A&gt;. It might be worth while watching a recording of this Tech Talk. Daniel is also leading a &lt;A href="https://hub.alfresco.com/t5/hackathon-june-2021-projects/jwt-authentication-subsystem-for-alfresco/idi-p/306906" target="_self" rel="nofollow noopener noreferrer"&gt;Hackathon project&lt;/A&gt; on this topic - again, it might be worth working with him on this project on June 16th, 2021.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 09:52:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133349#M35924</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-06-04T09:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Support for JWT / OAuth SSO on Alfresco Community Content Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133350#M35925</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for a quick response.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I have been in communication with&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/37735"&gt;@daniel_gradecak&lt;/A&gt;&amp;nbsp;and has been very helpful. Also I did go through his Blog as well as Webcast that are both useful&lt;/P&gt;&lt;P&gt;Issue is that some of the questions that I am asking are not directly relevant to his project and are relevant to Alfresco Community Respository directly and he has indicated to discuss those here on Alfresco Hub.&lt;/P&gt;&lt;P&gt;It would be useful if I can get some solutions or workarounds.&lt;/P&gt;&lt;P&gt;I will in the meantime also talk to&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/37735"&gt;@daniel_gradecak&lt;/A&gt;&amp;nbsp;as &lt;A href="https://hub.alfresco.com/t5/hackathon-june-2021-projects/jwt-authentication-subsystem-for-alfresco/idi-p/306906" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/hackathon-june-2021-projects/jwt-authentication-subsystem-for-alfresco/idi-p/306906&lt;/A&gt; are the changes that are essential for our project.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 11:53:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/support-for-jwt-oauth-sso-on-alfresco-community-content/m-p/133350#M35925</guid>
      <dc:creator>manurajsingh</dc:creator>
      <dc:date>2021-06-04T11:53:58Z</dc:date>
    </item>
  </channel>
</rss>

