# Google - OIDC / OAuth

<table data-view="cards"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td>Time Required</td><td>1 Hour</td></tr><tr><td>Difficulty</td><td>Easy</td></tr><tr><td>Required Knowledge</td><td>SSH</td></tr></tbody></table>

## Create a something something

...&#x20;

## Enabling OpenID Authentication on a Service

Google, google, google.

Google is your best friend in this scenario, but here are the generic Google OAuth details

### Add OAuth / OpenID detials to Application

<table><thead><tr><th width="255">Field</th><th>URL</th></tr></thead><tbody><tr><td>Client ID</td><td>Get from the Cloud Console</td></tr><tr><td>Client Secret</td><td>Get from the Cloud Console</td></tr><tr><td>Authorization URL</td><td><a href="https://accounts.google.com/o/oauth2/auth">https://accounts.google.com/o/oauth2/auth</a></td></tr><tr><td>Access Token URL</td><td><a href="https://accounts.google.com/o/oauth2/token">https://accounts.google.com/o/oauth2/token</a></td></tr><tr><td>Resource URL</td><td><a href="https://www.googleapis.com/oauth2/v1/userinfo?alt=json">https://www.googleapis.com/oauth2/v1/userinfo?alt=json</a></td></tr><tr><td>Redirect URL</td><td>URL of app (refer to apps documentation)</td></tr><tr><td>Username</td><td>email (refer to apps documentation)</td></tr><tr><td>Scope</td><td>openid, email, username, profile (refer to apps documentation</td></tr></tbody></table>

These URLs were current as of 11/06/2023

### Test Authentication

Log out of the app and try logging in with your Google account. If you have issues, refer to the applications documentation.


---

# 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://www.trentbauer.com/guides/other-guides/google/google-oidc-oauth.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.
