Question

3
Replies
132
Views
Close popover
Michael Chandler (PAMC001)
Blue Cross Blue Shield of Florida Inc

Blue Cross Blue Shield of Florida Inc
US
PAMC001 Member since 2018 7 posts
Blue Cross Blue Shield of Florida Inc
Posted: February 19, 2019
Last activity: May 17, 2019
Closed
Solved

RestClient and getting OAuth token

Trying to use a RestClient to obtain an OAuth token but I can't get it to work. I've specified input parameters for grant_type, client_id, client_secret and scope. Running the request vis curl returns a token so I know the interface is correct but I can't get the RestClient to work.

curl -i -X "POST" "https://api.xxxxxx.com/availity/v1/token" -d "grant_type=client_credentials&client_id=dxxxxxx&client_secret=xxxxxxxxxx&scope=hipaa"

{ "token_type":"bearer", "access_token":"AAIkZDEzNjBiYTAtOWM4NS00ZmE1LWI1NWMtZjhkNGVmYjk3OWU1c3SJD8BSGJmv5AfK2R9y1gl_73RDJT3Maxln8aHX2GZAbT30l06AzJh9Yi42jpt6EnZmbvhlO4TMZu1_KWaQP4uDUCsn-QOe9DYCWWOk_S66aj4pCJUwQYJ2X0cd0XunplT15e6uAoYVPwm0Pql6VQ", "expires_in":300, "consented_on":1550608142, "scope":"hipaa" }

Suggestions?

***Moderator Edit-Vidyaranjan: Updated SR details***

Robotic Process Automation Support Case Exists
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.