1.申请地址
https://console.cloud.google.com/apis/credentials?project=local-news-390408
- 选择凭证
创建完成后,添加一个回调地址即可
整个流程
- 登录google邮箱
- 登录成功会跳转到回调地址,会带code过来
- 根据code 获取token, token 获取邮箱地址
https://console.cloud.google.com/apis/credentials?project=local-news-390408
创建完成后,添加一个回调地址即可