How to integrate customer credentials?

Hello, I am trying to build a workflow for a person. All good and well, but there is a small problem. I am using google sheets node that require that person’s credentials and I cannot ask them for their account. I searched online about some fixes but nothing. When I try the Oauth 2.0 I only get the username and password. Is there a way to introduce his credentials without asking for his username and password ?

You are describing OAuth2 Delegated Authorization, where an app requests authorization to act on behalf of a user. Generally, n8n’s support for that is to connect 1 user to a Credential item.

OAuth2 is designed for something like a mobile app, where many users might download and use the app. If part of the app’s function was to read emails from a GMail account, each user would authorize the app (in a popup that checks their login directly with Google, and creates a token for the app) to read their mail.

A Credential in n8n acts as the app, and connects as one user.

Also, fyi, if you were to set things up such that n8n connects to some service on behalf of many users, you probably need an Embed License. More details on how that can work here.

If this answers your question, please mark this post as the Solution

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.