> For the complete documentation index, see [llms.txt](https://support.turngate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.turngate.io/advanced-setup/enterprise-idp-sso/copy-of-google-social-login-setup.md).

# Copy of Google Social Login Setup

### Creating a Google OAuth Internal App

Go to the Google API Console (console.developers.google.com) and login using your Google account.

If this is the first time that you're visiting this site, you will be asked to agree to the Terms of Service.

In the upper left hand corner of the screen click Select a project and then CREATE PROJECT as shown in the screen below:

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FicAfyMSF0dl4vrwxgE8l%2Fimage.png?alt=media&amp;token=896e70f5-add5-4854-b6a4-8c6220236b36" alt=""><figcaption></figcaption></figure>

Enter a Project name and then click the CREATE button as shown in the screen below:

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FraGLjy4cE56d1aFnEUDC%2Fimage.png?alt=media&amp;token=d935ee10-1b43-4c0e-844f-1eec88bb4361" alt="" width="375"><figcaption></figcaption></figure>

Next, from the APIs & Services Section, click on the OAuth consent screen from the left-hand menu. You may need to click "Get started" Then select either Internal or External to define your target user scope. Once selected, click the CREATE button.

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FzeFtP8jgRZ0TgVnLe66C%2Fimage.png?alt=media&amp;token=514f1027-0061-428b-b645-77d78db1aeef" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FcNR4DPCvMApv870KcTxk%2Fimage.png?alt=media&amp;token=4210627d-982e-4673-9c24-1869dbcfd262" alt="" width="563"><figcaption></figcaption></figure>

Click "Get started"

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FRMt3RKKtkbSaSvHXmccD%2Fimage.png?alt=media&amp;token=b7ac3fb9-8a63-4945-91a0-0836c36ef5ef" alt="" width="375"><figcaption></figcaption></figure>

Walk through the form providing a name, contact email, etc. You will be making an **Internal** App so only your internal users can log in.

Now within APIs & Services, click Credentials, then + Create Credentials from the menu at the top, and select + Create Client, as shown below:

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2FDLEWhILoSrDTXkFTft61%2Fimage.png?alt=media&amp;token=424fcc46-408c-4265-90f0-4d81ebffcbff" alt=""><figcaption></figcaption></figure>

When creating the OAuth Client you will need to use the following value:

Authorized JavaScript origins: `https://login.turngate.io`

Authorized redirect URIs: `https://login.turngate.io/provider/continue`

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2Fc4RRmlnpehsFF4YViH9V%2Fimage.png?alt=media&amp;token=46e5fba2-4e2d-4814-bf25-fbf670ddc991" alt=""><figcaption></figcaption></figure>

Click Create, which will return you to the Clients list page where you can select the client and get to the detailed view of the Client you just created.

<figure><img src="https://1393548075-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOucyTG0v1zvVLxweEeuI%2Fuploads%2F7KeR2eoW8i8ZBgJc9SOn%2Fimage.png?alt=media&amp;token=a2dd96d4-03c8-4c9c-8dc9-110d0b8a9c9b" alt=""><figcaption></figcaption></figure>

You will need to provide us with the Client ID and Client Secret in order to configure this for login.

Reach out to <support@turngate.io> to get the form to securely submit this data.
