Configuring Coginiti Team for Google OAuth

Team

Prerequisites

  • Admin access to your Google Cloud Platform Account.
  • Admin access to your Coginiti Team/Enterprise.

Google Configuration

  1. Create a Google Cloud Platform project

    Log into your Google Cloud Platform account. If you don't have an existing project where you want to add the OAuth client, create a new project.

  2. Create a Google OAuth 2.0 client

    Navigate to the "APIs & Services" -> "Credentials" page. Click on "Create Credentials" -> "OAuth client ID".

    If you haven't already, you'll be asked to configure the "OAuth consent screen" first. Fill out the required fields and save.

  3. Configure OAuth 2.0 client

    Choose the following settings:

    • Application type: Web application
    • Name: {Coginiti Team}
    • Authorized JavaScript origins: https://{coginiti-hostname}:443
    • Authorized redirect URIs: https://{coginiti-hostname}:443/api/auth/authorization-code/callback

    Click "Create" to finish the OAuth client setup.

  4. Retrieve Client ID and Secret

    After creation, you'll see your "Client ID" and "Client Secret". Note these down for the Coginiti configuration.

Coginiti Configuration

  1. Set up Google as IdP in Coginiti

    Log into Coginiti Team/Enterprise as an admin and navigate to the IdP configuration section. Fill in the form with the following details:

    • IdP provider: Google
    • Login URL: https://accounts.google.com/o/oauth2/v2/auth
    • Client Id: The Client ID obtained from Google
    • Secret: The Client Secret obtained from Google
    • Coginiti host: https://{coginiti-hostname}:443
    • Scopes: openid profile email
    • Exchange code URL: https://oauth2.googleapis.com/token
    • User information URL: https://openidconnect.googleapis.com/v1/userinfo

    Click "Save" to finalize the IdP configuration.

Security Note

Never expose your Google Client Secret in your client-side code or push it to a public repository. Always keep it safe on your server.

Conclusion

This guide provides steps to set up Google as an OAuth 2.0 IdP for Coginiti Team/Enterprise. Be sure to replace placeholders with your actual details. For more information, please refer to Google's and Coginiti's official documentation.

Further Reading

For more in-depth information, please refer to the official Google Cloud documentation

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request