Skip to main content

SSO Google (OAuth)

Read how to implement SSO via Google into your online academy

Floor Takman avatar
Written by Floor Takman
Updated over a week ago

What is SSO?

With Single Sign-On (SSO), your users can log in to the online academy using an external account. Read more about SSO in general here.

In this article, we explain what needs to be configured to activate this integration with Google.

To use SSO, users must already be added to the online academy. SSO does not create user accounts.

Read more here about adding users to your online academy.

How do I set up Google SSO (OAuth)?

Here we will explain how to configure SSO with Google.

Please consult Google support for the exact settings.

Step-by-step guide for creating credentials in Google

  1. Go to the "Credentials" page in the Google Cloud Platform.

  2. Click on "+ Create credentials" and then select "OAuth client ID".

  3. If this is your first OAuth integration, you will be prompted to fill in the "Consent screen":

    1. Select “Internal” as the user type.

    2. For “App name”, enter the name of the environment within Rakoo.

    3. In the “User support email” field, provide an email address that users can contact with any questions.

    4. For “App domain”, only fill in an “Authorized domain”. Under “Authorized domain”, click “Add domain”. Here, enter the main domain of your environment.
      If your Rakoo environment URL ends with “rakoo.com”, this is the main domain you should enter. If the URL ends with your own domain name, then provide that main domain instead.

    5. In the “Developer contact information” field, once again enter an email address where users can reach out.

    6. Finally, click “Save and continue”.

    7. On the next page, you need to add scopes. Click “Add or remove scopes” to select the following scopes:

      1. _/auth/userinfo.email

      2. _/auth/userinfo.profile

      3. openid

    8. After selecting these scopes, again choose “Save and continue”.

    9. You will then see an overview page where you can review all settings. After this, you can proceed to create the OAuth client ID.

  4. Now you’ll reach the “Create OAuth client ID” screen. For Application type, select “Web application”.

  5. Next, give the application a clear name—this could, for example, be the name of the online academy.

  6. Finally, you’ll have the option to enter two URLs. You only need to fill in the “Authorized redirect URLs”. The URL to enter here is:
    https://oauth2.rakoo.com/oauth2/login/code

  7. Click “Create”. You will now be shown a “client ID” and a “client secret”.

Step-by-step guide for creating the integration in the online academy

  1. Go to “Integrations” via the menu on the left.

  2. Under “Single Sign-On,” choose “GitHub (oauth2).”

  3. Click “Add.”

  4. Enter the information obtained from Google

  5. Save the changes to activate the integration.

Are you having trouble with the setup? Please contact support.

Did this answer your question?