对不同租户的无效授予

Invalid Grant on different tenant

我是 WSO2 AM 的新手,我遇到了这种情况:

我在 carbon 上创建了一个新租户,在那个新租户上我创建了一个 JDBC 用户存储,我的用户正确地列在 "Identity > Users and Roles" 选项卡中,然后我使用 OAuth/OpenID 连接配置和 grant_type 密码。

当我想通过 Postman > Get New Access Token 测试我的配置(生成新令牌?)时,如下图所示:

当我请求令牌时,答案是

{"error_description":"Users in the tenant domain : carbon.super do not have access to application myapplication","error":"invalid_grant"}

我不明白为什么当我在访问令牌 URL 中使用我的新域时它会尝试使用 carbon.super 域。

在 Google 中搜索,我发现当我启用我的服务提供商时 "SaaS Application" 可以工作,但是当我这样做时,新的响应是:

{"error_description":"Authentication failed for nicolas_webfile","error":"invalid_grant"}

我正在使用 WSO2 API 管理器 2.6.0

由于您正在使用 API 管理器,请按以下方式更改请求。

URL: http://localhost:8243/token
Username: user@webfile.com