'manage' scope is missing in google code

Hi everyone.

We are using this api to generate googleCode: https://accounts.google.com/o/oauth2/v2/auth

with following scopes:

https://www.googleapis.com/auth/business.manage

https://www.googleapis.com/auth/userinfo.profile

https://www.googleapis.com/auth/userinfo.email

This code is later used to generate refresh_token and get account info.

But for some users, we are not getting manage scope in code. Only profile and email scope are coming.

Can anyone please help on priority why we are not getting manage scope for some users.

This issue started happening frequently from last 1 week.

5 Likes

Hi there, thanks for getting in touch!

Could you confirm if you’re experiencing this issue within a process you’re building or integrating using Google Cloud Application Integration?

If not, I think your question would receive better attention in this forum within the Google Cloud Community.

1 Like

Hi Alex, thanks for replying.

We are facing this issue while trying to integrate GMB accounts on our Social media platform.
We use this api to get account associated with a user: https://mybusinessaccountmanagement.googleapis.com/v1/accounts

We are getting 403 from this api. On further investigation we found that the token does not have ‘manage’ scope.
Our concern is, why is Google code being generated without ‘manage’ scope when we are sending all the scopes in request while asking to create Google code using this api: https://accounts.google.com/o/oauth2/v2/auth