<?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 Re: SSO Keycloak in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88419#M26557</link>
    <description>&lt;P&gt;Can you share your docker-compose file?&lt;/P&gt;</description>
    <pubDate>Sun, 30 May 2021 12:26:23 GMT</pubDate>
    <dc:creator>jonbj</dc:creator>
    <dc:date>2021-05-30T12:26:23Z</dc:date>
    <item>
      <title>SSO Keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88416#M26554</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I can't configure SSO . I get the following error:&lt;/P&gt;&lt;P&gt;2020-02-26 09:51:03,402 WARN [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, identity-service1] failed&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authenticationComponent'&lt;BR /&gt;defined in URL [jar:file:/var/lib/tomcat/webapps/alfresco/WEB-INF/lib/alfresco-repository-7.134.1.jar!/alfresco/subsystems/Authentication/identity-service/identity-service-authentication-context.xml]:&lt;BR /&gt;Cannot resolve reference to bean 'authenticatorAuthzClient' while setting bean property 'authenticatorAuthzClient'; nested exception is org.springframework.beans.factory.BeanCreationException:&lt;BR /&gt;Error creating bean with name 'authenticatorAuthzClient': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException:&lt;BR /&gt;Could not obtain configuration from server [http://localhost:8880/auth/realms/alfresco/.well-known/uma2-configuration].&lt;BR /&gt;.......&lt;BR /&gt;Caused by: java.lang.RuntimeException: Error executing http method [RequestBuilder [method=GET, charset=UTF-8, version=null, uri=http://localhost:8880/auth/realms/alfresco/.well-known/uma2-configuration, headerGroup=null, entity=null, parameters=null, config=null]]. Response : null&lt;BR /&gt;at org.keycloak.authorization.client.util.HttpMethod.execute(HttpMethod.java:106)&lt;BR /&gt;at org.keycloak.authorization.client.util.HttpMethodResponse$2.execute(HttpMethodResponse.java:50)&lt;BR /&gt;at org.keycloak.authorization.client.AuthzClient.&amp;lt;init&amp;gt;(AuthzClient.java:251)&lt;BR /&gt;... 60 more&lt;BR /&gt;Caused by: java.net.ConnectException: Connection refused (Connection refused)&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;Response from the Keycloak server&amp;nbsp; http://localhost:8880/auth/realms/alfresco/.well-known/uma2-configuration&lt;/P&gt;&lt;P&gt;{"issuer":"http://localhost:8880/auth/realms/alfresco","authorization_endpoint":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/auth","token_endpoint":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/token","token_introspection_endpoint":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/token/introspect","end_session_endpoint":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/logout","jwks_uri":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/certs","grant_types_supported":["authorization_code","implicit","refresh_token","password","client_credentials"],"response_types_supported":["code","none","id_token","token","id_token token","code id_token","code token","code id_token token"],"response_modes_supported":["query","fragment","form_post"],"registration_endpoint":"http://localhost:8880/auth/realms/alfresco/clients-registrations/openid-connect","token_endpoint_auth_methods_supported":["private_key_jwt","client_secret_basic","client_secret_post","tls_client_auth","client_secret_jwt"],"token_endpoint_auth_signing_alg_values_supported":["PS384","ES384","RS384","HS256","HS512","ES256","RS256","HS384","ES512","PS256","PS512","RS512"],"scopes_supported":["openid","address","email","microprofile-jwt","offline_access","phone","profile","roles","web-origins"],"resource_registration_endpoint":"http://localhost:8880/auth/realms/alfresco/authz/protection/resource_set","permission_endpoint":"http://localhost:8880/auth/realms/alfresco/authz/protection/permission","policy_endpoint":"http://localhost:8880/auth/realms/alfresco/authz/protection/uma-policy","introspection_endpoint":"http://localhost:8880/auth/realms/alfresco/protocol/openid-connect/token/introspect"}&lt;/P&gt;&lt;P&gt;Pls help me!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 10:23:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88416#M26554</guid>
      <dc:creator>pbar</dc:creator>
      <dc:date>2020-02-26T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88417#M26555</link>
      <description>&lt;P&gt;Are you using docker containers? I found this problem when using keycloak docker image inside the same alfresco docker-compose file. The point is that keycloak is not started up when alfresco tries to get keycloak information. You must startup keycloak before ACS container.&lt;/P&gt;&lt;P&gt;Also, keep in mind that if you are using docker, you can't point to localhost to connect to keycloak, as it tries to connect to the ACS container. You should assign static ip's to the keycloak container in your docker network.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2020 07:18:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88417#M26555</guid>
      <dc:creator>narkuss</dc:creator>
      <dc:date>2020-02-28T07:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88418#M26556</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/77972"&gt;@narkuss&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Are you using docker containers? I found this problem when using keycloak docker image inside the same alfresco docker-compose file. The point is that keycloak is not started up when alfresco tries to get keycloak &lt;A href="https://prothesiswriter.com/blog/design-perfect-thesis-structure" target="_self" rel="nofollow noopener noreferrer"&gt;information&lt;/A&gt;. You must startup keycloak before ACS container.&lt;/P&gt;&lt;P&gt;Also, keep in mind that if you are using docker, you can't point to localhost to connect to keycloak, as it tries to connect to the ACS container. You should assign static ip's to the keycloak container in your docker network.&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks a lot for this solution!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 16:39:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88418#M26556</guid>
      <dc:creator>BrunoA</dc:creator>
      <dc:date>2020-04-30T16:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: SSO Keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88419#M26557</link>
      <description>&lt;P&gt;Can you share your docker-compose file?&lt;/P&gt;</description>
      <pubDate>Sun, 30 May 2021 12:26:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sso-keycloak/m-p/88419#M26557</guid>
      <dc:creator>jonbj</dc:creator>
      <dc:date>2021-05-30T12:26:23Z</dc:date>
    </item>
  </channel>
</rss>

