首页 > 解决方案 > 检查 google 登录和显示验证 URL 所需的信息:

问题描述

我正在浏览https://developers.google.com/identity/sign-in/devices,我正在尝试使用我从云平台获得的 CLIENT_ID 获取链接中提到的代码和验证 URL。curl -d "client_id=CLIENT_ID&scope=email profile" https://accounts.google.com/o/oauth2/device/code

我收到以下错误:{“error”:“invalid_client”,“error_description”:“无效的客户端类型。” 我没有得到 user_code 和 verify_url 作为响应。我错过了什么吗?

标签: google-signin

解决方案


推荐阅读