Sorry this is probably an obvious question but how would I request an OAuth token with scopes which are not under userinfo? For instance, the drive scope? I've tried sticking drive in the default scopes and messing around with the userinfo_endpoint parameter but neither of these seem to work. Both of these give 400 errors on the Google side.
Is this library only designed to give the userinfo scopes and I'm missing something fundamental about how OAuth is intended to work?
Thanks in advance and sorry for the stupid questions!
Sorry this is probably an obvious question but how would I request an OAuth token with scopes which are not under userinfo? For instance, the drive scope? I've tried sticking
drive
in the default scopes and messing around with the userinfo_endpoint parameter but neither of these seem to work. Both of these give 400 errors on the Google side.Is this library only designed to give the userinfo scopes and I'm missing something fundamental about how OAuth is intended to work?
Thanks in advance and sorry for the stupid questions!