You can allow your visitors to login / register via Google like this:

mceclip0.png

 

Below you find instruction how to configure it.

 

1. Visit: https://console.developers.google.com/

2. If it is your first API Key Google will ask you to create “New Project”

mceclip0.png

3. Visit – https://console.developers.google.com/ and Create Credentials “0Auth client ID”

mceclip3.png

 

4. If you do not have product name yet, you will need to click “Configure Consent Screen”. If you have it already please jump to point 6

mceclip4.png

4.1. Select User Type: External

mceclip5.png

4.2. Add “App name” and “User support email”

mceclip6.png

 

4.3. Add authorized domain and Developer Contact Information and then click “Save and Continue

mceclip8.png

4.4. Scopes – just click “Save and Continue”

mceclip9.png

 

4.5. Test Users – just click “Save and Continue”

mceclip10.png

 

4.6. In the last step just click “Back to Dashboard”

mceclip11.png

5. Visit – https://console.developers.google.com/ and Create Credentials “0Auth client ID”

mceclip3.png

 

6. Select Web application

mceclip13.png

 

7. Now it is the most important part of configuration. You need to add Callback URL to “Authorized redirect URLs”. You can find it in your Vehica Panel and copy / paste:

mceclip0.png

mceclip2.png

8. Because it is the most important step, before you click “Create”, please make sure:

1) you added link to “Authorized redirect URIs” section (NOT to “Authorized JavaScript origins” section)

2) you copied from Vehica Panel “Google” link NOT Facebookhttps://domain.com/social-auth/google/

3) When you are sure about it, click “Create” button

mceclip4.png

 

8. Copy Your Client ID and Your Client Secret into Vehica Panel

mceclip19.png

mceclip20.png

10. Please make sure you checked “Enable Google Auth” Checkbox

mceclip5.png

 

11. Done. Now your users can use Google Account this way:

mceclip21.png