# 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="/files/mCmEB9YPxTuW1febRAhX" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/ZWUZMJi5LxJH8OK0Tgiv" 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="/files/YjBbboQWIKG36wymiFMx" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/N2AVsAvuSCvgBOoIbJJb" alt="" width="563"><figcaption></figcaption></figure>

Click "Get started"

<figure><img src="/files/h58CA9KA5dPmeUaIn4Lk" 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="/files/Fo8jcWq2tFBTVEoDfpKI" 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="/files/qFPGuKplfeRFQOsw8qC3" 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="/files/FaR4yZ30Kvx8E37PRcsq" 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.turngate.io/advanced-setup/enterprise-idp-sso/copy-of-google-social-login-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
