Hello Cerner Team,
I'm trying to follow authorization on behalf of a system use case.
https://fhir.cerner.com/authorization/#requesting-authorization-on-behalf-of-a-system
I have created a system account in Sandbox Cerner Central:
I've also created new application in Sandbox Code Console and provided system account's ID (as Client ID) when creating this application. This application was created with System type and I've selected Millennium product family with both FHIR R4 and DSTU APIs. I've selected all API Access options that were available.
I'm trying to get access token for the following FHIR environment:
to find token URL, I've obtained the metadata URL using the following command:
That gave me the following Token URL:
Opening that error_uri shows the following error:
Information to provide to <appName>
The tenant requested is not registered.
Error Code:
urn:cerner:error:authorization-server:oauth2:token:invalid-tenant
What does that error mean and how to fix it? Is there some step that I've missed while setting up system account or application? Where and how do I need to register the tenant?
I've waited for 15 minutes after initial creation of the application before first attempt of requesting access token.
Thanks,
Dmitry Lipin