Can't register new confidential App

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

Youstina Emad

unread,
Aug 1, 2021, 7:16:59 AM8/1/21
to Cerner FHIR Developers
Hello,

I am trying to register new  app on 
https://code.cerner.com/developer/smart-on-fhir/register
With  Confidential client type 
I entered the system account id registered on https://cernercentral.com/system-accounts/
but the registration failed with message 

Error! Failed to register your SMART app. Please try again!

Any help ?

Fenil Desani (Cerner)

unread,
Aug 2, 2021, 10:16:35 AM8/2/21
to Cerner FHIR Developers
Hello,

Can you please provide the System Account ID used to register the App?

Thanks,
Fenil

Youstina Emad

unread,
Aug 3, 2021, 10:40:43 AM8/3/21
to Cerner FHIR Developers
Hello Fenil, 

Thanks for your reply 

System Account ID :  820dbb95-7e51-456c-b6d2-9a41dd7887a6

Thanks, 
Youstina

Fenil Desani (Cerner)

unread,
Aug 3, 2021, 12:10:17 PM8/3/21
to Cerner FHIR Developers
Please try registering your Application again after 15 minutes.

Youstina Emad

unread,
Aug 4, 2021, 9:14:51 AM8/4/21
to Cerner FHIR Developers
Thanks Fenil for your response, 
I registered an application successfully
But I tried to register another application using the same system account id but it failed 

Fenil Desani (Cerner)

unread,
Aug 4, 2021, 9:52:25 AM8/4/21
to Cerner FHIR Developers
Hello,

One System Account can be associated with only 1 System App.

Thanks,
Fenil

Youstina Emad

unread,
Aug 5, 2021, 9:43:59 AM8/5/21
to Cerner FHIR Developers
Hello Fenil, 
Thanks for your note and support 
I tried to use the app I have registered using the system account Id above , 
But I got  invalid_client error
Error uri: https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-client-credentials/instances/127f025e-00ec-46d5-a271-79a25db462f9?client=unknown&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d

Any help ?

Fenil Desani (Cerner)

unread,
Aug 5, 2021, 3:07:34 PM8/5/21
to Cerner FHIR Developers
The error says, invalid client credentials. Please make sure the Account ID/ClientID and Client Secret are correct.
The ClientID to use: 820dbb95-7e51-456c-b6d2-9a41dd7887a6 and the secret to sue can be found from https://cernercentral.com/system-accounts/820dbb95-7e51-456c-b6d2-9a41dd7887a6
Also make sure you are correctly encoding your client credentials - http://fhir.cerner.com/authorization/#requesting-authorization-on-behalf-of-a-system

Youstina Emad

unread,
Aug 10, 2021, 6:54:08 AM8/10/21
to Cerner FHIR Developers
Dear Fenil,

I tried to generate access token 
I used this client Id :  820dbb95-7e51-456c-b6d2-9a41dd7887a6

I got the secret key from here  https://cernercentral.com/system-accounts/820dbb95-7e51-456c-b6d2-9a41dd7887a6
In secrets section I pressed the "view" button  and copied the secret 

I encoded the credentials like descriped here http://fhir.cerner.com/authorization/#requesting-authorization-on-behalf-of-a-system
Basic {{ Base64 encode "clientid:secret }}


But I got Page not found error 
Any help ?
Thanks in advance 

Fenil Desani (Cerner)

unread,
Aug 10, 2021, 10:21:19 AM8/10/21
to Cerner FHIR Developers
I will reach out personally for some additional details.
Reply all
Reply to author
Forward
0 new messages