FHIR Chat · Unauthorized client on getting token AllScripts DSTU2 · implementers

Stream: implementers

Topic: Unauthorized client on getting token AllScripts DSTU2


view this post on Zulip Leonard Barbu (Aug 15 2020 at 08:45):

Hello,
When I try to get the token from AllScripts on FHIR DSTU2 on the link provided by them (for Sunrise 18.4 CU3 SANDBOX):
https://global.open.allscripts.com/fhirroute/patientauth/916144d1-1cd9-41c7-be01-e2d6f89d5416/connect/token
With the following POST request:
grant_type=authorization_code&code=22d5b178b2e9e&redirect_uri=http://localhost/ZibdyMVC/Home/Account#redirect/&client_id=4374AA64-80E3-48&client_secret=030&scope=patient/.read
Authorization Header is present: Basic NDM3NEFBNjQtODBFMy00M0ZCLUE4OEItQTIw****
Decoded Username:Password= 4374AA64-80E:0306***

I get the error:
{"error":"unauthorized_client"}

I verified multiple times that the client ID, client secret corresponds and that redirect URI is in the list.
Thanks

view this post on Zulip Lloyd McKenzie (Aug 23 2020 at 23:18):

@Jeffrey Danford

view this post on Zulip Jeffrey Danford (Aug 24 2020 at 12:04):

Have you tried contacting the Allscripts Developer Forum (https://developer.allscripts.com/Forums) yet? Typically this error occurs when a newly registered app hasn't been added to our authorization service. The Forum is monitored and you should get a response shortly.


Last updated: Apr 12 2022 at 19:14 UTC