0

我在尝试获取授权码以设置与 Alexa 链接的应用程序到应用程序帐户时遇到问题。(我使用此说明:https ://developer.amazon.com/en-US/docs/alexa/account-linking/app-to-app-account-linking-starting-from-your-app.html#urls-和端点

我已经在开发者控制台中添加了帐号关联设置: 在此处输入图像描述

当我尝试通过 Postman 发送请求以检查来自 LWA 服务器的请求时:

https://www.amazon.com/ap/oa?client_id=<client_id_the_same_to_in_dev_console>&scope=alexa::skills:account_linking&response_type=code&redirect_uri=https://layla.amazon.com/api/skill/link/M29O0C3SI87JJJ&state=someState

我得到这个回应:

Location: https://layla.amazon.com/api/skill/link/M29O0C3SI87JJJ?error_description=An+unknown+scope+was+requested&state=someState&error=invalid_scope

那么,我需要使用什么范围来代替alexa::skills:account_linking?我的方法可能还有另一个问题吗?

先感谢您。

4

0 回答 0