I have an appian web api with Oauth 2.0 cliet enabled.But when i am trying to get the token by hitting the token request end point by passing the
grant_type, client_id, client_secret as queryparams and content_type as application/x-www-form-urlencoded.this I am trying from java micro-service, while doing so,I have tried multiple ways like sending them in body , as paramsi am getting the following error :
INFO com.appiancorp.connectedsystems.http.oauth.HttpOAuthTokenRetriever - Error while retrieving token: invalid_client attempting to pass Authentication in body INFO com.appiancorp.connectedsystems.http.oauth.HttpOAuthTokenRetriever - Error while retrieving token using auth in body: invalid_client ERROR com.appiancorp.connectedsystems.http.execution.AppianHttpRequestExecutor - ConnectorRuntimeException [title=Unsupported authentication, This request requires authentication but does not specify the type of authentication expected]
Any leads would be appreciated,Thanks in advance.
Discussion posts and replies are publicly visible
Verify the client id and secret for any typos or extra spaces etc. As per error Appian is not able to recognise and validate the client details provided.
After correct the typos, we are still getting different errors.