How to enable social login through Google for your apps

This article will help you enable social login through Google for your apps.

Since Graphy is a white-labeled solution, you need to set up through your own account on  
https://console.developers.google.com/

To start a new project select your organization and click on 'New project.' 

Screenshot 2022-04-01 at 12.55.19 PM


After that add a name for your new project and click on 'Create.'

Screenshot 2022-04-01 at 12.55.35 PM

Then go back to the 'Dashboard' click on 'APIs & Services' on the left panel and then click on 'OAuth consent screen.'

Screenshot 2022-04-01 at 4.07.21 PM


In the OAuth consent screen section, click on 'External' and then click on 'Create.'

Screenshot 2022-04-01 at 4.08.40 PM


Then fill in all the details required in 'Edit app registration.'

Screenshot 2022-04-01 at 4.09.46 PM-1


Alongside the name of your app and your email id, now you'll need to add URLs for privacy policy and data deletion. Check the note below to access them. 

Note: On your Graphy dashboard, go to the ‘Design’ section and then go to the ‘Website’ tab. Click on ‘Themes’ that are published, and you’ll find the Privacy Policy and Terms of Use pages live on your website.


Then click on 'Save and continue'. 
Screenshot 2022-04-01 at 4.09.58 PM-1


Then click on 'Save and continue'.

Screenshot 2022-04-05 at 12.11.47 PM


Then click on 'Save and continue.'Screenshot 2022-04-05 at 12.11.54 PM

Then click on 'Back to dashboard.' Screenshot 2022-04-05 at 12.14.10 PM


After this, simply click on 'Publish App'.

Screenshot 2022-04-05 at 12.14.44 PM


Click on 'Confirm' to ensure that the app is pushed to production. 

Screenshot 2022-04-05 at 12.14.51 PM


To enable social login on different platforms, you need the credentials for each platform. Go to the 'Credentials' tab on the left panel. Then click on 'Create credentials' and 'OAuth client ID'. 

Screenshot 2022-04-05 at 12.18.24 PM


To enable social login for iOS
, click on 'Application type' and then click on the 'iOS' checkbox. 

Screenshot 2022-04-05 at 3.24.48 PM-2

Screenshot 2022-04-05 at 3.22.55 PM

After that simply add your Bundle ID. 

Note: Make sure to use the Bundle ID associated with your app on iTunes connect


Then copy 'Your bundle ID' and paste it into the required field on your Graphy Dashboard. Then click on 'Save'.

Note: On the Graphy Dashboard go to Settings > Signup and login

Screenshot 2022-05-17 at 4.12.32 PM


To enable social login for Android, you need to follow the process of publishing your app on https://console.developers.google.com/

Open https://developers.google.com/identity/sign-in/android/start-integrating#configure_a_project and click 'Configure a Project.'

Screenshot 2022-04-05 at 5.02.40 PM

Then click on the project you want to sign in with.

Screenshot 2022-04-05 at 5.02.58 PM(1)

Then click on 'Android' and then 'Create.'
Screenshot_2022-02-24_at_8.50.45_PM

Then enter package name, and the SHA1 generated from generate SHA1 and click 'Create'.

Then copy your 'Client ID.'
Screenshot 2022-04-05 at 5.12.03 PM-2


Use your copied 'Client ID' and paste it into the required field on your Graphy Dashboard. Then click on 'Save'.

Note: On the Graphy Dashboard go to Settings > Signup and login

Screenshot 2022-05-17 at 4.12.32 PM-3

This is how you can generate SHA1

Login to your play console account https://play.google.com/console/Then click on the app you want to configure. 

Screenshot 2022-04-05 at 5.09.50 PM

After selecting the app, click on 'Setup', and 'App integrity.' 
Screenshot 2022-04-05 at 5.10.23 PM

 

Then click on 'App signing' and copy the SHA-1 certificate fingerprint.

Screenshot 2022-04-05 at 5.11.04 PM