Author Message
MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
I am in need of calling a rest service that requires an oauth token. My requirements are that we use grant_type=client_credentials as well as specifying the scope. I don't see a way to make these adjustments via the UI. If I try leaving out Username/Password fields which are optional according to the documentation, I receive the error

"The OAuth URL, User name, Password, OAuth Client ID and OAuth Cleint Secret should be configured/provided when OAuth is selected and OAuth token is not provided."


However if I supply dummy values for those fields, it looks like it tries to use grant_type=password.

MichaelNorman
Joined: Jun 3, 2015
Messages: 448
Offline
Forgot to mention that I have configured Oauth Client ID, Oauth Client Secret, and Oauth URL in the task.
RajeshChandrashekar
Joined: Oct 27, 2016
Messages: 60
Offline
Hi,
currently, the task doesn't seem to support the client credential grant type, we would take this enhancement and would provide this in next release
Go to:   
Mobile view