Skip to main content

How to implement SAML based SSO using GMO Trust Login

GMO Trust Login is used to implement SSO with SAML authentication.
GMO Trust Login acts as IdP, and Kuroco acts as SP for SAML authentication.

Prerequisites

This tutorial assumes that you have a GMO Trust Login account.

info

Please refer to GMO Trust Login documentation:

Registering an App with GMO Trust Login

Log in to Trust Login

Log in to Trust Login, navigate to [Management] -> [Apps], and click the [Register App] button in the top right corner.

Image from Gyazo

Register "Kuroco (SAML)" as a Corporate App

Search for "Kuroco (SAML)" on the "Corporate App Registration" screen and select it.

Image from Gyazo

Download the Certificate

Note down the values of "ID Provider URL" and "Issuer/Entity ID" under "ID Provider Information" and download the certificate by clicking the [Get Certificate] button.

Image from Gyazo

Change the Extension of the Downloaded Certificate

Convert the extension of the downloaded certificate to ".cer".

Now, proceed to the Kuroco settings.

caution

Do not click the [Register] button; instead, open Kuroco's management screen in a separate window.

Kuroco Configuration

Setting up External System Integration

Click on [External System Integration] -> [SAML SP] in the left menu of the Kuroco management screen.

Image from Gyazo

Click the [Add] button.

Image from Gyazo

Editing SAML SP

Configure the fields on the SAML SP editing screen as follows and save by clicking the [Add] button.

Image from Gyazo

Field Descriptions

FieldDescription
Login SAML SP NameEnter a name of your choice.
Target DomainSet Admin panel.
Entity IDEnter any string.
IDP XML Configuration FileClick [Don't have config file? Please click here.] to display items like "Certificate".
CertificateClick [Choose File] and upload the "Certificate" (file with extension changed to .cer) obtained from Trust Login.
IDP URLEnter the "ID Provider URL" obtained from Trust Login.
IDP Entity IDEnter the "Issuer/Entity ID" obtained from Trust Login.
Expiration DateSet any date and time.
Use Login IDTurn off the checkbox.
Automatic User RegistrationTurn off the checkbox.
Allow IDP-Initiated FlowTurn on the checkbox.
Binding MethodSelect "POST".
tip

To enable SAML JIT (automatically registering a user in Kuroco if they are not already registered), check the [Auto User Registration] option.

SAML SP Configuration

Click on the [Login SAML SP Name] that was added earlier.

Image from Gyazo

Reupload Certificate

Upload the certificate obtained from Trust Login under "Certificates" again, click on the [Download Metadata] button to retrieve the metadata. Finally, update by clicking the [Update] button.

Image from Gyazo

Return to the Trust Login management page.

Register Metadata with GMO Trust Login

Under "Service Provider Settings," click on "Select Metadata" and upload the metadata obtained from Kuroco.

Image from Gyazo

Save by clicking the [Register] button.

Once you have added users who can access the app, the setup is complete.

Image from Gyazo

Verify the Functionality

After completing the setup, the SSO link will appear on Kuroco's login page.

Image from Gyazo

Clicking the link will redirect to the login page of GMO Trust Login.

Image from Gyazo

You will now be able to log in via SAML here.


Support

If you have any other questions, please contact us or check out Our Slack Community.