# Google

### Google as OAuth Identity Provider

To use Google as Auth Provider, you must setup a so-called "OAuth 2.0 Client ID". You can do so in the Google Cloud Console. <https://console.cloud.google.com/apis/credentials>

<figure><img src="/files/cjhimPh58zvYWERpMTWw" alt=""><figcaption><p>You can create many OAuth 2.0 Client IDs</p></figcaption></figure>

Use the Form to create your Client ID (app registration)

<figure><img src="/files/jRwgrDwkDG9I9W5ymawd" alt=""><figcaption><p>You can set multiple redirect URLs</p></figcaption></figure>

On the right side, you will find the Client-ID and Client Secret. Now you go back to OpenFlower Settings > Auth Providers and click "Add OAuth Provider" and select Google from the list of Auth Providers.

<figure><img src="/files/KU2C8NGPpZ3rUZWoACsw" alt=""><figcaption><p>select Google as Auth Provider from the List</p></figcaption></figure>

You can now copy and paste the Client ID and Client Secret from the Google Cloud Console.

<figure><img src="/files/ork0z9ZxJTEtqwARcOCl" alt=""><figcaption></figcaption></figure>

Thats it! Now you can invite new Users to OpenFlower. They can choose Google to Sign Up (register) or Sign in / log in.

<figure><img src="/files/TCILd0j6r5YAhn2zbjPy" alt=""><figcaption><p>Based on an invite Link, users can now login with the OAuth provider Google.</p></figcaption></figure>


---

# 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://docs.openflower.org/workspaces-and-teamwork/oauth/google.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.
