Sign in with Google
How to Add Google Sign-In with Your Adalo App
Skill Level: Expert
Before You Begin
Know about Screens and Components, and Actions.
Ensure you have setup your Google Developer account.
Paid plan may be required to use in Native or with Xano External Collections.
Walkthrough
Install the Component from the Marketplace
1.) Click the plus button
in the left toolbar in Adalo
2.) Scroll down and click the Explore Marketplace button
3.) In the Marketplace, scroll to find the Sign in with Google component and click Install
Add the Component to your Signup and Login Screens
4.) Click the plus button in the left toolbar in Adalo
5.) Search for the Sign in with Google component
6.) Drag the component on to your Sign In screen (and do the same for your Login screen). We'll finish setting it up in just a minute.
Create Your OAuth Consent Screen
7.) Go to https://console.developers.google.com/apis/credentials/consent
8.) Select your project or create a new project (if you don't already have one)

9.) Choose whether your app is Internal (just for people within your organization) or External/Public (for users outside of your organization)

10.) Enter your app's information, then click Continue
App Name
Support Email Address
App Logo (Optional) - 🚨if you upload a logo your app will need to be reviewed & verified (this will take longer for you to be able to use Google Sign-in )🚨
The home page of your app's website
URL of your app's terms of service
URL of your app's privacy policy
Authorized Domains (include the same domain as your app's website)
Developer Contact Information
11.) Click the Add or Remove Scopes button and select on the first 3 scopes


12.) Scroll down click the Update button. Then scroll down and click the Save and Continue button.
13.) Skip entering any Optional Info
14.) On the Summary step, scroll down and click the Back to Dashboard button. You should see a message stating "Verification not required"
Create Your Web Client ID
15.) Go to https://console.developers.google.com/apis/credentials
16.) Click the Create Credentials button
17.) Choose the OAuth Client ID option

18.) Select Web Application as the application type and enter an internal name for your web client ID (this can be anything)
19.) For the Authorized Javascript Origins, enter two URIs: "https://previewer.adalo.com" and the custom web domain of your Adalo app (if your app is accessible as a web app), then click Create

20.) Copy the Client ID and paste it into the Client ID input of the Google Sign-in component.

Create Your iOS Client ID
21.) Go to https://console.developers.google.com/apis/credential
22.) Click the Create Credentials button, then choose the OAuth Client ID option

23.) Select iOS as the application type, enter your iOS bundle ID, and click Create (if you haven't created your iOS bundle yet here's a help think for that — note that you can still test it on web and PWA as long as you've finished the Web Client ID step from above)

24.) Copy the Client ID and paste it in to the left panel in Adalo when you have the Sign in with Google component selected.

25.) 🚨PLEASE NOTE🚨: Due to the app store guidelines, you'll need to add the 'Sign In with Apple' component or your app will get rejected. Go here to set up 'Sign In with Apple.'
Create Your Android Client ID
26.) Go to https://console.developers.google.com/apis/credentials
27.) Click the Create Credentials button and choose the OAuth Client ID option

28.) Pick Android from the Application type dropdown, then enter the name of your app in the Name field.
29.) For the package name enter in your bundle ID from the publish settings that you created while setting up your Android APK (if you haven't done that yet you can still test it on the web and PWA if you've created your Web Client ID — here's the help link for creating your Android app if you haven't done that yet)
30.) For the Fingerprint, which one you use depends on the build of your app. See the table below for instructions for each build type.
Occurrence: Most Common
Use this method if your Adalo App build is:
An AAB (.aab) file
OR
Is an Adalo APK and you have opted into Google App Signing (how to check?)
1.) Go to Play Store Console and select your app.
2.) Under the Setup dropdown in the left menu, select the App Integrity option

3.) Copy the SHA-1 Fingerprint and paste it into the Fingerprint field of your Android Client ID setup.

Occurrence: Somewhat Common
Use this method if your Adalo App:
Is an APK (.apk) file and is not enrolled in Play App Signing (how to check?)
If your APK is enrolled in Play App Signing, use the AAB process tab instead.
FF:71:AA:98:E9:5F:7A:66:E9:86:AC:C5:33:F7:A7:F1:6B:68:E7:C6
Occurrence: Very Rare
If you are publishing an Adalo app to an APK or AAB build already in Play Store that was not made with Adalo (Play App Signing status does not matter), you will need to download the keystore file. Please contact Adalo support for help.
31.) Then click Create. Note that you won't need to paste this into Adalo, you just have to have it created for your Google Sign In to work on Android.
Finish configuring your Sign in with Google component
If you're developing an app just for internal use at your organization, you can choose to restrict logins to only people within your organization by entering the domain of your organization's email address.
You can customize the appearance of the button itself
When users click the button, they will be either signed up for a new account with your app or log in to their existing account. You can add additional actions to the button such as linking the users to the home screen of your app.
Learn More
If using Xano External Collections please follow the steps in the Xano+Google Sign In Help Doc after completing the steps above.
Help
If you need additional help with this article, you can always ask in our community forum! Be sure to paste the link to this article in your post as well!
Do you have a tutorial or help doc request? Let us know!
Last updated
Was this helpful?
