google-signin - 检查 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 作为响应。我错过了什么吗?
解决方案
推荐阅读
- authentication - 启用 Kerberos 时,Apache Drill 上的模拟失败
- java - 多线程让 Java 大文件处理变得更糟
- java - Pom.xml with local jar and concurrent dependency
- automated-tests - Cypress.io 与 Prometheus 兼容吗?
- sql - 如何在sql中编写查询以按月制作报告
- javascript - JavaScript global error listener is not working
- python - Visualize TFLite graph and get intermediate values of a particular node?
- c# - 根据另一个表中的列名从表中选择列
- api - 通过 Moodle Webservice 获取用户角色
- c# - 使用 Flurl 时找不到 GetJsonAsync 方法