【发布时间】:2017-08-25 02:30:42
【问题描述】:
我正在使用https://developers.google.com/admin-sdk/directory/v1/reference/users/insert 在我的域上创建一个新用户。
紧接着,我想更改它的日历设置。当我尝试冒充用户时,出现以下错误:
Signet::AuthorizationError: Authorization failed. Server message:
{
"error": "unauthorized_client",
"error_description": "Client is unauthorized to retrieve access tokens using this method."
}
如果我等待 20 秒,我不会收到此错误。如何立即模拟新创建的用户?
【问题讨论】:
标签: google-admin-sdk