密码授予辅助用户存储

时间:2018-03-07 16:18:23

标签: wso2 wso2-am wso2carbon

我配置了一个辅助用户存储,我想存储所有用户。

也许我错过了一些东西,因为当我尝试为存储在辅助用户存储中的用户生成访问令牌时,我收到错误。

curl -k -d "grant_type=password&username=<USR_NAME>&password=<USR_PASSWD>"     -H "Authorization: Basic <BASE64_KEY_SECRET>"   https://localhost:8243/token

错误回复:

{"error_description":"Authentication failed for <USER_NAME>@carbon.super","error":"invalid_grant"}

如果我传递主用户存储的用户,则返回访问令牌。

有什么想法吗?

0 个答案:

没有答案