Page tree

It is possible to connect Translate5 with Keycloak / Redhat SSO as Single Sign On provider. This Page will explain you how to do the setup. The screenshot will show Redhat SSO which is the commercial edition of Keycloak, but both should be very similar.

Prerequisites

To Simplify this tutorial we are assuming following things:

  1. You have a running instance of Redhat SSO 7.X.X
  2. You have a running instance of Translate5
  3. You have admin rights on both systems and are confident with them

We will be using following values in the tutorial:

ParameterValue used in tutorial as example
Translate5 URLhttps://translate5.yourdomain.com
Redhat SSO URLhttps://auth.yourdomain.com
Redhat SSO realmCompanyRealm

Redhat SSO Setup

Open your Redhat SSO Admin console and open your CompanyRealm.

Go to the Clients list and click Create.

Fill the inputs in the following way:

ParameterValueInformation
Client IDtranslate5This value will be your OpenID username in the Translate5 settings

Client Protocol

openid-connect
Root URLhttps://translate5.yourdomain.com

Click Save and open the Settings tab from this new client.

Change the following settings and leave the rest as is:

ParameterValue
Access Typeconfidential
Implicit Flow EnabledON
Direct Access Grants EnabledOFF
Valid Redirects URIhttps://translate5.yourdomain.com/login

Click Save and open the Credentials tab that should now be visible.

Make sure the settings are are follows:

ParameterValueInformation
Client AuthenticatorClient id and secret
SecretGenerated_XXX_SecretThis value will be your OpenID password in the Translate5 settings


Translate5 Setup

Open Translate5 as Admin and open the Clients view. Create a new Client with the following settings:

ParameterValueInformation
Client nameRedhat SSOCan by anything
Client numberXCan by anything
Translate5 domaintranslate5.yourdomain.comDo not put the protocol (http/https) in here

Save and open the OpenID Connect tab.

ParameterValueInformation
OpenID server
https://auth.yourdomain.com/auth/realms/CompanyRealm/
OpenID issuer
https://auth.yourdomain.com
OpenID username
translate5
OpenID password
Generated_XXX_Secret
OpenID OAuth URL
https://auth.yourdomain.com/auth/realms/CompanyRealm/
Default rolesEditorEditor is the minimum required role to access the Translate5 instance
Allowed rolesEditorNote: Currently We only know how to use the Default roles and are unable to setup the roles in Redhat SSO

Save.

Test the setup

You should now be able to go to the main translate5 url at https://translate5.yourdomain.com/login and you should see a Button "Single Sign On" Login.

By clicking on it you should be redirected to your Redhat SSO authentication page, and once you logged in there you should be redirected to translate5 and the editor should open.

  • No labels