1. 打开Google OAuth2.0 Playground,如下选择API的范围,这里也就是指定了Scope

2. 选择API的Scope并点击【Authorize APIs】

3. Scope和授权。

4. Authorization Server返回Auth Code

5. 用Auth Code在去Request AccessToken

6. 在Postman中设定好AccessToken来GETGoogle账户中的联系人信息。

7. 看到结果了吧。

[原创]OAuth2.0实例讲解,Google OAuth Playground
原文:https://www.cnblogs.com/one2nine/p/14104903.html