> ## Documentation Index
> Fetch the complete documentation index at: https://stytch.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Google One Tap

> Set up Google One Tap OAuth for Consumer Authentication.

## Setup

*Follow these steps if you have not created a Google OAuth client yet.*

1. [Create a Google Cloud account and project](https://support.google.com/googleapi/answer/6251787#zippy=%2Ccreate-a-project) if you have not already done so.
2. [Configure your OAuth consent screen](https://console.cloud.google.com/apis/credentials/consent) if you have not already done so. [More info](https://stytch.com/docs/consumer-auth/authentication/oauth/adding-to-custom-auth-flow.md)
3. [Go to the Google Credentials page](https://console.cloud.google.com/apis/credentials) for your application. Click on **CREATE CREDENTIALS** and then select **OAuth Client ID**. ![Google Create Credentials](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-create-credentials.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=5b0c84a5add27142fda9189f6b55c2ac)
4. Select **Web Application** as the application type (regardless of if it is a mobile or non-web application) and enter a name for your OAuth client.
5. Copy-paste the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into your OAuth configuration under the **Authorized redirect URIs** section. ![Google Authorized Redirect URIs](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-authorized-redirect-uris.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=e1a7dbc6951ce74df705a135d3c17d53)
6. Click **create** to save the configuration.
7. **Optional**: If you want the Stytch SDK to support Google One Tap, add your application's URI as an Authorized JavaScript Origin. Read more about [One Tap](https://stytch.com/docs/consumer-auth/authentication/oauth/adding-oauth-to-stytch-login.md). ![Google Authorized Javascript Origins](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-authorized-javascript-origins.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=b0834f71ac8b7f736c3ae5e2138a6dcb)

***

*Follow these steps if you already have an existing Google OAuth client.*

1. Go to the Google Credentials page for your application. You should see your OAuth client under the **OAuth 2.0 Client IDs** section. ![Google Create Credentials](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-create-credentials.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=5b0c84a5add27142fda9189f6b55c2ac)
2. Click on the OAuth client to edit its configuration.
3. Copy-paste the Stytch redirect URI from the [Dashboard](https://stytch.com/dashboard/oauth) into your OAuth configuration under the **Authorized redirect URIs** section. ![Google Authorized Redirect URIs](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-authorized-redirect-uris.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=e1a7dbc6951ce74df705a135d3c17d53)
4. Click to save the configuration.
5. **Optional**: If you want the Stytch SDK to support Google One Tap, add your application's URI as an Authorized JavaScript Origin. Read more about [One Tap](https://stytch.com/docs/consumer-auth/authentication/oauth/adding-oauth-to-stytch-login.md). ![Google Authorized Javascript Origins](https://mintcdn.com/stytch-34ca0595/ujkFjtNfcCtlcK2E/images/consumer/from-old-docs/google-authorized-javascript-origins.png?fit=max\&auto=format\&n=ujkFjtNfcCtlcK2E\&q=85\&s=b0834f71ac8b7f736c3ae5e2138a6dcb)
