I'm trying as a practical exercise connect Zoho apps with Google API, in this case I'm trying to connect with Google Sheets API. I'm connecting with OAuth2.0 Auth but when I connect the applications throw me this error:
and I was searching why the scope were duplicated but I don't find an answer, the Auth URL would be something like that:
scope=https://www.googleapis.com/auth/spreadsheets
I don't know if I configured wrong OAuth consent screen or configured wrong the params in Postman.
Update: I will add more details
I'm trying to connect zoho expense with google sheets via API
In Zoho Expense I can connect with diferents custom services with this: enter image description here enter image description here
The ID client and secret client take them from the credentials of google cloud and with POSTMAN I generated the Auth URL with these parameters:
enter image description here
The URL access token: enter image description here
The URL refresh token: enter image description here
Well, I found a solution, hope this can help another one:
The problem was not the scope, the problem was the parameter:
I change querystring by header:
And field the another fields with this:
Auth URL: https://accounts.google.com/o/oauth2/auth?access_type=offline
Access token: https://oauth2.googleapis.com/token
Refresh token: https://oauth2.googleapis.com/token
scope: https://www.googleapis.com/auth/spreadsheets
And my URI from gy google acount: https://deluge.zoho.com/delugeauth/callback