【发布时间】:2021-11-26 07:05:19
【问题描述】:
WSO2 APIM 版本是 3.2.0。
在 WSO2 APIM 中创建了一个 JBDC 二级用户存储 opera 并添加了一些用户说 user1。
在 devportal 中创建了一个应用程序 - GUI_APP
当我尝试在 opera 中使用用户访问令牌 API 时,出现以下错误。"Users in the tenant domain : opera do not have access to application admin_GUI_APP_PRODUCTION"
API 详情如下:
请求网址:
https://{APIM_IP}:8243/token
请求方法:
发布
请求标头:
内容类型:application/x-www-form-urlencoded
授权:基本(base64 编码密钥:GUI_APP 的秘密)
请求正文:
授权类型:密码
用户名:user1@opera
密码:{pwd}
请让我知道需要进行哪些更改,以便为二级用户存储中的用户获取令牌。
【问题讨论】: