Refresh token returns invalid grant type
I'm trying to refresh the access token (based on https://docs.wso2.com/display/IS510/Refresh+Token+Grant ) obtained from wso2 identity server; the server returns an invalid grant type response { "error": "invalid_grant", "error_description": "Provided Authorization Grant is invalid" } The access token is obtained using the "authorization code" grant type with the openid scope. I've turned on the logging on the server; however, I'm not able to determine the reason for the invalid grant type response. How can i get the WSO2 Identity Server to refresh my access token using the refresh token? Logs