# Google

You will need to set up an application with Google social login provider to get the App ID and Secret which will be required in the config Dashboard.

**Note:** To generate Google Client ID and Client Secret you must be signed into a Google account.

## How to get Google Client ID and Client Secret?

1. Go to the [Google Developers Console](https://console.developers.google.com/apis) **->** Sign in into your <mark style="color:purple;">**`Google account`**</mark>
2. Click on the dropdown <mark style="color:purple;">**`Select a project`**</mark>**->&#x20;**<mark style="color:purple;">**`New project`**</mark>

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FLKqTxovX90SW5gHImkyS%2FGroup%20111.png?alt=media&#x26;token=910fc038-e086-4e0b-a804-0042b546273d" alt=""><figcaption></figcaption></figure>

3. &#x20;Enter your <mark style="color:purple;">**`Project name`**</mark>  and <mark style="color:purple;">**`location`**</mark> **->** Click on the <mark style="color:purple;">**`Create`**</mark> button

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2F8t2Op6N0h3p8QFrlZGY8%2FGroup%20114.png?alt=media&#x26;token=0faa2c57-8911-42ec-ad3b-0569ad874bbd" alt=""><figcaption></figcaption></figure>

4. Click <mark style="color:purple;">**`OAuth consent screen`**</mark>  on the left side menu **->** Choose  <mark style="color:purple;">**`User type`**</mark>**&#x20;->** Click on the <mark style="color:purple;">**`Create`**</mark> button

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FmAGsToRSljTBgtNxMTlE%2FGroup%20123.png?alt=media&#x26;token=3272242c-7226-4844-b5ef-1350dfb777af" alt=""><figcaption></figcaption></figure>

5. Add <mark style="color:purple;">**`Application name`**</mark>**&#x20;,** <mark style="color:purple;">**`Support email`**</mark>**&#x20;,** <mark style="color:purple;">**`Authorised domain`**</mark>**,** <mark style="color:purple;">**`Developer content information`**</mark>**&#x20;->** Click on the <mark style="color:purple;">**`Save and continue`**</mark> button.

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FiBeI5iMXzhMy01grOj1O%2FGroup%20124.png?alt=media&#x26;token=5e9c3a6a-4ea6-4adb-b8c2-b605b32bd69f" alt=""><figcaption></figcaption></figure>

6. Complete all 4 steps on  <mark style="color:purple;">**`OAuth consent screen`**</mark> in the left side bar menu **->** Click on the <mark style="color:purple;">**`Back to Dashboard`**</mark> button

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FtBPRvMk9JdWmtRdr7l5v%2FGroup%20126.png?alt=media&#x26;token=77b7f662-7416-4637-87cb-0fabdaaba777" alt=""><figcaption></figcaption></figure>

7. Go to <mark style="color:purple;">**`Credentials`**</mark> in the left side menu **->** Click on the <mark style="color:purple;">**`Create credentials`**</mark> button -> Select <mark style="color:purple;">**`OAuth client ID`**</mark> from the dropdown list

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2Fo0aZLsENy5eZ7cyJKiYQ%2FGroup%20127.png?alt=media&#x26;token=986093ba-7cef-4a37-8efb-23e379099c98" alt=""><figcaption></figcaption></figure>

8. Open the dropdown list <mark style="color:purple;">**`Application type`**</mark> **->** Select <mark style="color:purple;">**`Web application`**</mark> **->** <mark style="color:purple;">**`Enter the name`**</mark> of your OAuth

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FHFUWanj0ZaQTgvHOX2j2%2FGroup%20130.png?alt=media&#x26;token=f30c7911-782a-4f58-b17a-a4a237e9979d" alt=""><figcaption></figcaption></figure>

9. Enter your site URL in <mark style="color:purple;">**`Authorised JavaScript origins`**</mark>**&#x20;->** in <mark style="color:purple;">**`Authorised redirect URIs`**</mark>, enter the page URL where you wanted your users redirected back after they have authenticated with Google **->** Click on the <mark style="color:purple;">**`Create`**</mark> button.

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FTbImJ1EZSpX0NcsSXLMV%2FGroup%20132.png?alt=media&#x26;token=500956ac-2e63-4ade-9fee-531e339b736c" alt=""><figcaption></figcaption></figure>

10. Copy your <mark style="color:purple;">**`Client ID`**</mark> and <mark style="color:purple;">**`Client secret`**</mark>&#x20;

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FpPD1gw4QJkTgbh9iERXM%2FGroup%20129.png?alt=media&#x26;token=d0ee3574-67de-4f29-b903-fd6ed636e788" alt=""><figcaption></figcaption></figure>

10. Paste your <mark style="color:purple;">**`Client ID`**</mark> and <mark style="color:purple;">**`Client secret`**</mark> into the corresponding fields in the WalliD config Dashboard.

<figure><img src="https://862418018-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fb6AQcBnq7Bisre4oTTm9%2Fuploads%2FmHG4eRY4ND1uLexloWNP%2FGroup%20159.png?alt=media&#x26;token=e943da3d-c8d9-4291-ac40-818ed71e16b8" alt=""><figcaption></figcaption></figure>
