Google Sign-In
Integrate Google Sign-In into your OwnID authentication screens
This guide walks you through the steps to set up Google Sign-In as an identity provider within the OwnID platform, offering a secure and frictionless login experience.
Prerequisites
Before you begin, ensure you have the following:
- A Google Cloud account with access to the Google Cloud Console.
- An OwnID account and access to the OwnID Console.
Step 1 - Create a Google OAuth Client ID
-
Go to Google Cloud Console and select your project (create one if needed).
-
Go to Branding page, make sure all of the information is complete and accurate.
-
Go to Clients page and create a new client:
- Select Application Type
Web application
.
- Give it a meaningful name.
- Leave Authorized JavaScript origins empty.
- In the Authorized redirect URIs, enter your custom domain, followed by the path
/oidc/callback
, so for examplehttps://passwordless.acme.com/oidc/callback
. If a custom domain was not configured yet, you can enterhttps://passwordless.ownid.com/oidc/callback
. - Click Create.
- Save the created
Client ID
andClient Secret
values, you will use them later in this guide.
- Select Application Type
Optional: Native Apps Integration
If you’re building a native Android or iOS app, you’ll need to create additional clients:
- iOS - Create a separate OAuth 2.0 Client ID with Application type set to iOS and specify your app’s
bundle ID
andteam ID
. - Android - Create a separate OAuth 2.0 Client ID with Application type set to Android in the Google Cloud Console. Provide your app’s
package name
andSHA-1 fingerprint
.
Step 2 - Configure Google Credentials in OwnID
Go to the OwnID console, Authentication
> Social Providers
:
-
Toggle on
Google Sign in
.
-
Click configure and enter the following values in the modal:
- Client ID - enter the value from
Web application
client. - Client Secret - enter the value from
Web application
client. - iOS - Client Secret - enter the value from
Android
client. (optional) - Android - Client Secret - enter the value from
iOS
client. (optional)
- Client ID - enter the value from
-
Save your configurations.
Was this page helpful?