wso2 api manager 1.10预先打包的wso2身份服务器5.0 - 令牌重生失败

时间:2016-06-16 06:36:02

标签: api oauth wso2 wso2is wso2-am

我正在使用Prepackaged Identity Server 5.0配置 WSO2 API Manager 1.10

已按照https://docs.wso2.com/display/CLUSTER44x/Configuring+the+Identity+Server+5.1.0+as+a+Key+Manager+with+API+Manager+1.10.0中的所有步骤操作。

我可以使用Identity服务器和 API Manager 执行SSO。我能够使用Identity server生成API令牌。

当我尝试重新生成时失败并显示错误 - 令牌撤销失败:HTTP错误代码:400

以下是来自身份服务器的日志

[2016-06-16 06:26:19,875] ERROR {org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint} -  Error while creating the Carbon OAuth token request
OAuthProblemException{error='invalid_request', description='Missing grant_type parameter value', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}
        at org.apache.oltu.oauth2.common.exception.OAuthProblemException.error(OAuthProblemException.java:59)
        at org.apache.oltu.oauth2.common.utils.OAuthUtils.handleOAuthProblemException(OAuthUtils.java:167)
        at org.wso2.carbon.identity.oauth2.model.CarbonOAuthTokenRequest.initValidator(CarbonOAuthTokenRequest.java:91)
        at org.apache.oltu.oauth2.as.request.OAuthRequest.validate(OAuthRequest.java:60)
        at org.apache.oltu.oauth2.as.request.OAuthRequest.<init>(OAuthRequest.java:52)
        at org.apache.oltu.oauth2.as.request.AbstractOAuthTokenRequest.<init>(AbstractOAuthTokenRequest.java:34)
        at org.apache.oltu.oauth2.as.request.OAuthTokenRequest.<init>(OAuthTokenRequest.java:55)
        at org.wso2.carbon.identity.oauth2.model.CarbonOAuthTokenRequest.<init>(CarbonOAuthTokenRequest.java:58)
        at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

任何人遇到同样的问题?任何帮助表示赞赏。

0 个答案:

没有答案