Hi,
I am getting the below error “Authorization Required: Unauthorized” while trying to get the Token from the Token URL using pub.client:http
Below are the parameters I am giving.
client_id
client_secret
grant_type = client_credentials
url = token url
method = post
But I am able to generate the token and post the message successfully through postman using OAuth2.0. Can you please let me know what is missing in the call I am making to pub.client:http to get the access token?
Can you share exactly how you did this? If you use Basic auth in wM IS, you’d pass the credentials within the auth document and only the grant_type field under args. There would not be anything named “client_authentication”.
What might help is if you review the Console, and perhaps “Show raw log”, within Postman to see what it does. Based upon your screen shot, it should look something like this: