Skip to content

Updated OAuth2 authentication flow for Google Drive in n8n (v1.81.4) #2945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,13 @@ With the Google project and credentials fully configured, finish the n8n credent

1. From Google's **OAuth client created** modal, copy the **Client ID**. Enter this in your n8n credential.
2. From the same Google modal, copy the **Client Secret**. Enter this in your n8n credential.
2. In n8n, select **Sign in with Google** to complete your Google authentication.
3. **Save** your new credentials.
3. In n8n, select **Grant Type** to Authorization Code.
4. In the **Authorization URL** field, enter: https://accounts.google.com/o/oauth2/v2/auth
5. In the **Access Token URL** field, enter: https://oauth2.googleapis.com/token
6. In the **Auth URI Query Parameters** field, enter: access_type=offline
7. In the **Authentication** field, select Header.
8. In n8n, select **Sign in with Google** to complete your Google authentication.
9. **Save** your new credentials.

## Video

Expand Down