PKCE Question

18 views
Skip to first unread message

Kenneth Crawford

unread,
Oct 15, 2024, 4:07:37 PM10/15/24
to edge-te...@googlegroups.com

Good Day,

 

I wanted to test out a smart app we are developing against the HealthIT.gov FHIR server located at https://fhirsandbox.healthit.gov/secure/r4/fhir . I wanted to ask if this server supports PKCE Authorization.

 

I have taken the steps to register the application on the server.

 

This is the URL I am attempting to load to start the process:
https://fhirsandbox.healthit.gov/secure/r4/fhir/authorize?response_type=code&client_id=KxlpcaRJVmadzmNLa7OajtPgCWGOEv&scope=launch%20user%2F*.read%20openid%20fhirUser&redirect_uri=http%3A%2F%2Flocalhost%3A3005%2Findex&aud=https%3A%2F%2Ffhirsandbox.healthit.gov%2Fsecure%2Fr4%2Ffhir&state=38326598&code_challenge=Qj5OvLV4SoQZCzfQDRM79ZDCBU06kab9zImQyiFdMvQ&code_challenge_method=S256

 

I have also tried (without secure in the aud):

https://fhirsandbox.healthit.gov/secure/r4/fhir/authorize?response_type=code&client_id=KxlpcaRJVmadzmNLa7OajtPgCWGOEv&scope=launch%20user%2F*.read%20openid%20fhirUser&redirect_uri=http%3A%2F%2Flocalhost%3A3005%2Findex&aud=https%3A%2F%2Ffhirsandbox.healthit.gov%2Fr4%2Ffhir&state=38326598&code_challenge=Qj5OvLV4SoQZCzfQDRM79ZDCBU06kab9zImQyiFdMvQ&code_challenge_method=S256

 

I am receiving a 401 Unauthorized error response back from the server.

 

*I have used the same code/methods on the Logica server, which I believe also supports PKCE exchange.

 

What am I missing or What could be causing this?

 

 

Sincerely,

Kenneth M. Crawford | Sr Full Stack Developer | FHIR Engineer | MB-200, PL-400, PL-200, PL-100, AI-100

P: 443.860.6714newwave.io | onyxhealth.io

 

cid1736790012*image007.png@01D8B7D2.C92722B0

cid1736790012*image008.png@01D8B7D2.C92722B0

cid1736790012*image009.png@01D8B7D2.C92722B0

cid1736790012*image010.png@01D8B7D2.C92722B0

 

 

James Spillman

unread,
Apr 17, 2025, 3:15:06 PM4/17/25
to Edge Test Tool (ETT)
SITE no longer supports these fhir tools. Locking this thread.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages