Keycloak SSO

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • murray99
    Member
    • Jan 2017
    • 57

    Keycloak SSO

    Has anyone successfully set up SSO with Keycloak. I managed to get KC to display a login screen and create a session, but the Espo page seems to be raising an error.
    has anyone got some detail about which URL exactly I shoudl be setting up between Espo and the Keycloak client settings?
    Thanks
    M
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Would be helpful if you provided more details about the error. From Espo log file, from the browser console, a screenshot.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • murray99
      Member
      • Jan 2017
      • 57

      #3
      [2023-10-07 16:34:27] ERROR: OIDC: Bad token request.; Status: 400; Response: {"error":"invalid_client","error_description":" Par ameter client_assertion_type is missing"}
      [2023-10-07 16:34:27] ERROR: (0) GET /App/user; line: 249, file: [root_folder]\application\Espo \Core\Authentication\Oidc\Login.php​

      Comment

      • yuri
        Member
        • Mar 2014
        • 8440

        #4
        See https://github.com/espocrm/espocrm/issues/2786 and https://docs.espocrm.com/administration/oidc/ in the Details list (see client_secret_jwt and private_key_jwt methods are not supported​).
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • murray99
          Member
          • Jan 2017
          • 57

          #5
          Thanks Yuri.
          I'm still getting my head around Connect ID. I will document the settings that I end up with for others to use.
          Thanks again

          Comment

          • estehr
            Junior Member
            • Nov 2023
            • 1

            #6
            Originally posted by murray99
            I will document the settings that I end up with for others to use.
            Hi murray99,

            did you succeed with the SSO? I just started the project but w/o success. I see the logon screen but afterwards the login failed. In KC there's no error but in Espo there's a "invalid credentials". Do they need to match in KC and Espo?

            Comment

            Working...