> For the complete documentation index, see [llms.txt](https://www.trentbauer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.trentbauer.com/guides/other-guides/google/google-oidc-oauth.md).

# 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.
