FHIR Access (Unable to make an API call)

54 views
Skip to first unread message
Assigned to Fenil....@cerner.com by me

Christopher Martin

unread,
Apr 28, 2022, 2:29:13 PMApr 28
to Cerner FHIR Developers
Hello,

Our organization has put in a request for a SMART on FHIR application. I've been trying to make a call to retrieve an access token, but the access token URL provided points to https://oauth-api.cerner.com/oauth/access which is not the FHIR authentication endpoint https://authorization.cerner.com/tenants/{tenant_id}/protocols/oauth2/profiles/smart-v1/token2022-04-28_14-25-45.jpg

Can someone please help and explain what is going on? Here is the code I'm using below to make a call (note: the PERSON ID used is a sandbox ID)
2022-04-28_14-27-24.jpg

Fenil Desani (Cerner)

unread,
Apr 29, 2022, 9:22:44 AMApr 29
to Cerner FHIR Developers
Hello,

You need to use AccountID and secret from the System Account and get the access token from this endpoint: https://authorization.cerner.com/tenants/{tenant_id}/protocols/oauth2/profiles/smart-v1/token
What is your clientID? Are you trying to integrate with our public Sandbox?

Thanks,
Fenil

Christopher Martin

unread,
Apr 29, 2022, 11:23:36 AMApr 29
to Cerner FHIR Developers
Hi Fenil,

Yes, I'm trying to make a call to the public sandbox.
Client ID = 7eb351de-623e-4bd9-b03e-4671f232860e

This is the error I get when I try to make a call using the Client ID/Secret on the test parameters
2022-04-29_11-22-19.jpg
Message has been deleted
Message has been deleted

Fenil Desani (Cerner)

unread,
Apr 29, 2022, 12:07:22 PMApr 29
to Cerner FHIR Developers
You have registered the System Account but not registered any corresponding App in our Code Console.
Reply all
Reply to author
Forward
0 new messages