Problem with Google Drive Oauth Credential

Hi, I wanted to create an OAuth2 credential for Google Drive, Afer complete
ClientId & client secret. I cannot sign in with google got the error below.

" Error 403: access_denied

Request details: access_type=offline response_type=code redirect_uri=https://oauth.n8n.cloud/oauth2/callback state=eyJ0b2tlbiI6Im9NVndBNjl6LUlOemtyaTMwWm1CdDRGQ0hzZndtSXNoZkszYyIsImNpZCI6IkdnUVV1VzVlYnpiVWg2YlciLCJjcmVhdGVkQXQiOjE3NDAwODk3NDc5ODYsImhvc3QiOiJnZW5haXNvbHVzaXRhbWEuYXBwLm44bi5jbG91ZC9yZXN0In0= prompt=consent client_id=1060452619640-d59t494vl6i288lct5prjb6mqujjnr63.apps.googleusercontent.com scope=https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.appdata https://www.googleapis.com/auth/drive.photos.readonly flowName=GeneralOAuthFlow

Can anyone help me? Thanks

Information on your n8n setup

n8n cloud trial version

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

See if this helps.

It’s not work, I’m using the same google accout.

Did you do #6 from the instructions here?

step in google console different from n8n documentation, there is no field to enter authorized domain. But I have enter https://oauth.n8n.cloud/oauth2/callback this URI

I have seen several places where someone said you don’t need to add your own gmail address as a test user, but I’m not sure that’s correct. Have you tried explicitly adding your own gmail address on the audience page of the google developer console in the Test Users section?

Thank’s It’s solved. I published the app.

Can you please share how you solved this problem ?

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