Configure Google OAuth
This guide walks CreditChek administrators through configuring Google OAuth (Google Workspace / G Suite) as an authentication provider, allowing users to sign in with their organizational Google credentials.
Prerequisites​
Before you begin, ensure you have:
- A Google Workspace (G Suite) admin account
- A fully qualified domain name (FQDN) for your application (e.g.
yourcompany.com) - Admin SDK API enabled for your Google Workspace domain
- Admin access to your CreditChek dashboard
Setup in Google Cloud Console​
Step 1: Authorize Your Domain​
- Go to the Google Cloud Console and open your project.
- Navigate to APIs & Services > OAuth consent screen.
- Add your application's top-level domain to the Authorized domains list.
- Confirm the following scopes are enabled:
emailprofileopenid
- Click Save and Continue.
Step 2: Generate OAuth2 Credentials​
- Go to APIs & Services > Credentials.
- Click Create Credentials > OAuth client ID.
- Select Web application as the application type.
- Under Authorized JavaScript origins, add Creditchek application URL (e.g.
https://app.creditchek.africa). - Under Authorized redirect URIs, add callback URL:
https://app.creditchek.africa/auth/google/callback - Click Create and download the credentials as a JSON file — you will need this later.
Configure CreditChek with Google OAuth​
In your CreditChek dashboard, navigate to Settings > ExternalIDP > Google OAuth and provide the following:
| Field | Description |
|---|---|
| Admin Email | Your Google Workspace administrator email address |
| Domain | Your exact Google Workspace domain (not aliases, e.g. yourcompany.com) |
| OAuth Credentials | Upload or paste the details required from the JSON file downloaded in Step 2 |
Once all fields are filled in, click on Configure to activate Google OAuth for your CreditChek integration.
Verification​
After enabling, test the flow by signing in with a Google Workspace account. Confirm:
- Invite a user that is within your google domain / workspace
- They can access the dashboard through Google's login page by clicking on Continue with Google
- After authentication, the user is redirected to your business' CreditChek dashboard
For support, contact us at [email protected].