#
Google Sign-In
Curiosity supports user authentication via Google Sign-In. This allows users to access the workspace using their Google organization accounts.
#
Prerequisites
To configure Google SSO, you will need:
- A Client ID
- A Client Secret
- A Domain for accounts (optional, but recommended)
#
Configuration Steps
#
1. Register a Google Application
- Go to the Google Cloud Console.
- Create a new project (e.g., "Curiosity SSO").
- Navigate to OAuth consent screen, select Internal, and click Create.
- Provide the required application details and save.
- Go to Credentials, click + Create Credentials, and select OAuth client ID.
- Choose Web application as the application type.
- Add the Authorized redirect URI:
{domain}/api/googlesso/completed-login-attempt - Click Create and note down the Client ID and Client Secret.
#
2. Enter Details in Curiosity
- In your Curiosity Workspace, navigate to Manage > Settings > Accounts > Single Sign-On.
- Select Google.
- Enter the Client ID and Client Secret.
- (Optional) Enter the Domain for accounts to restrict login to a specific Google domain.
- Click Save.
#
Troubleshooting
- Invalid Client ID: Google will display an error immediately upon redirection.
- Invalid Client Secret: Redirection to Google works, but an error occurs when returning to Curiosity.
- Redirect URI Mismatch: Ensure the URI in Google Console exactly matches your workspace URL.