Authentication Token Error

184 views
Skip to first unread message

eric...@ww.com

unread,
Dec 8, 2021, 2:43:19 PM12/8/21
to GAM for Google Workspace
Ross,

I am getting ERROR when i run gam oauth refresh, updated to the latest version.

: Authentication Token Error - Not all requested scopes were granted by the authorization server, missing scopes https://sitesgooglecom/feeds, https://wwwgooglecom/m8/feeds


Ross Scroggs

unread,
Dec 8, 2021, 2:44:59 PM12/8/21
to google-ap...@googlegroups.com
Try gam oauth create

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/94f98425-e9d2-403f-9bf2-3103483a36f4n%40googlegroups.com.


--

eric...@ww.com

unread,
Dec 8, 2021, 2:50:25 PM12/8/21
to GAM for Google Workspace
Gam oauth create works

gam select wwcom oauth info
Client OAuth2 File: /Users/-----------/.gam/oauth2.txt
Client ID: ----------------------------------.apps.googleusercontent.com
Scopes: 45
  https://sites.google.com/feeds
  https://www.google.com/m8/feeds
  https://www.googleapis.com/auth/admin.chrome.printers
  https://www.googleapis.com/auth/admin.contact.delegation
  https://www.googleapis.com/auth/admin.datatransfer
  https://www.googleapis.com/auth/admin.directory.customer
  https://www.googleapis.com/auth/admin.directory.device.chromebrowsers
  https://www.googleapis.com/auth/admin.directory.device.chromeos
  https://www.googleapis.com/auth/admin.directory.device.mobile
  https://www.googleapis.com/auth/admin.directory.domain
  https://www.googleapis.com/auth/admin.directory.group
  https://www.googleapis.com/auth/admin.directory.orgunit
  https://www.googleapis.com/auth/admin.directory.resource.calendar
  https://www.googleapis.com/auth/admin.directory.rolemanagement
  https://www.googleapis.com/auth/admin.directory.user
  https://www.googleapis.com/auth/admin.directory.user.security
  https://www.googleapis.com/auth/admin.directory.userschema
  https://www.googleapis.com/auth/admin.reports.audit.readonly
  https://www.googleapis.com/auth/admin.reports.usage.readonly
  https://www.googleapis.com/auth/apps.groups.migration
  https://www.googleapis.com/auth/apps.groups.settings
  https://www.googleapis.com/auth/apps.licensing
  https://www.googleapis.com/auth/apps.order
  https://www.googleapis.com/auth/calendar
  https://www.googleapis.com/auth/chrome.management.policy
  https://www.googleapis.com/auth/chrome.management.reports.readonly
  https://www.googleapis.com/auth/classroom.announcements
  https://www.googleapis.com/auth/classroom.courses
  https://www.googleapis.com/auth/classroom.coursework.students
  https://www.googleapis.com/auth/classroom.courseworkmaterials
  https://www.googleapis.com/auth/classroom.guardianlinks.students
  https://www.googleapis.com/auth/classroom.profile.emails
  https://www.googleapis.com/auth/classroom.profile.photos
  https://www.googleapis.com/auth/classroom.rosters
  https://www.googleapis.com/auth/classroom.topics
  https://www.googleapis.com/auth/cloud-identity.groups
  https://www.googleapis.com/auth/contacts
  https://www.googleapis.com/auth/devstorage.read_only
  https://www.googleapis.com/auth/directory.readonly
  https://www.googleapis.com/auth/ediscovery
  https://www.googleapis.com/auth/pubsub
  https://www.googleapis.com/auth/siteverification
  https://www.googleapis.com/auth/userinfo.email
  https://www.googleapis.com/auth/userinfo.profile
  openid

gam select wwcom oauth refresh

ERROR: Authentication Token Error - Not all requested scopes were granted by the authorization server, missing scopes , https://sitesgooglecom/feeds, https://wwwgooglecom/m8/feeds

Ross Scroggs

unread,
Dec 8, 2021, 3:00:13 PM12/8/21
to google-ap...@googlegroups.com
Send me a Meet/Zoom invitation.

What are you trying to achieve with gam oauth refresh?

Ross



--

eric...@ww.com

unread,
Dec 8, 2021, 3:05:10 PM12/8/21
to GAM for Google Workspace
I want trying yo see if i can get any info fro the reseller api, is this for just reseller access, we are building a dashboard for TCO reporting and my developers wanted to use the reseller api  to get Licenses purchased and outstanding. 

❯ gam show resoldsubscriptions
Subscription Show Failed: Forbidden
Reply all
Reply to author
Forward
0 new messages