w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
(401) Login Required Error for retrieve a users from Google apps domain?

You say you're performing the authorization for those scopes, but those scopes aren't included in the client. Make sure you include this code before you run $client->refreshToken():

$client->setScopes($SCOPES);




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.