优步错误请求的范围无效

Uber ERROR Invalid scope requested

这是我的授权url

https://login.uber.com/oauth/v2/authorize?client_id={{client id}}&response_type=code&scope=profile 请求

上面url.

他们有什么问题吗

您的应用中是否配置了 request 作用域? scope 参数中的范围列表必须是您配置的范围的子集。

您可以在不使用 scope 参数的情况下尝试相同的请求。这将默认为您配置的任何范围(您至少需要一个范围才能通过授权)。

你试过用 %20 替换空格吗?

https://login.uber.com/oauth/v2/authorize?client_id={{client id}}&response_type=code&scope=profile%20request

他们在文档文件中忘记了 's'。

尝试 scopes=... 而不是 scope=...