An access token is obtained using the grant type "authorization code" with an openid scope.
I turned on logging on the server; however, I cannot determine the cause of the incorrect grant type response. How can I get WSO2 Identity Server to update an access token using an update token?
TID: [-1234] [] [2016-03-14 09: 20: 11,241] DEBUG {org.wso2.carbon.identity.oauth2.OAuth2Service} - request access token received for client identifier CHao3ZYUVY6tRX4jJ82yzh4NVpka, user ID null, Scope Applications: [openid] and Grant Type: refresh_token
TID: [-1234] [] [2016-03-14 09: 20: 11,241] DEBUG {} Org.wso2.carbon.identity.oauth2.token.handlers.clientauth.AbstractClientAuthHandler - Can be authenticated using client identifier and privacy . Client ID: CHao3ZYUVY6tRX4jJ82yzh4NVpka TID: [-1234] [] [2016-03-14 09: 20: 11,241] DEBUG {} Org.wso2.carbon.identity.oauth2.token.handlers.clientauth.AbstractClientAuthHandler_Grant type: client check set to: null
TID: [-1234] [] [2016-03-14 09: 20: 11,242] DEBUG {org.wso2.carbon.identity.oauth2.util.OAuth2Util} - Client credentials were obtained from the database. TID: [-1234] [] [2016-03-14 09: 20: 11,242] DEBUG {org.wso2.carbon.identity.oauth2.util.OAuth2Util} - successfully authenticated the client with the client ID: CHao3ZYUVY6tRX4jJ82yzh4NVpka
TID: [-1234] [] [2016-03-14 09: 20: 11,243] DEBUG {org.wso2.carbon.identity.oauth2.util.OAuth2Util} - Client credentials were added to the cache for client ID: CHao3ZYUVY6tRX4jJ82yzh4NVpka
TID: [-1234] [] [2016-03-14 09: 20: 11,245] DEBUG {} Org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler - Invalid update token for a client with a client identifier: CHao3ZYUVY6tRX4jJ82yzh4NVpka
TID: [-1234] [] [2016-03-14 09: 20: 11,245] DEBUG {org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer} - Invalid Grant provided by client Id: CHao3ZYUVY6tRX4jJ82yzh4NVpka
TID: [-1234] [] [2016-03-14 09: 20: 11,246] DEBUG {org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer} - OAuth-Error-Code = invalid_grant client-id = CHao3ZYUVY6tRX4jJ82yzh4NVpka grant -type = refresh_token scope = openid