Authorization error: denied-no-effective-scopes-present

88 views
Skip to first unread message

Neo Chen

unread,
Dec 8, 2022, 9:04:02 AM12/8/22
to Oracle Cerner FHIR Developers
HI, Cerner team,

I'm having trouble to connect to the API service. I'm follwoing this documentation to construct my auth request: http://fhir.cerner.com/authorization/#discovering-authorization-urls

Here is my authorization request looks like:
https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/protocols/oauth2/profiles/smart-v1/personas/provider/authorize?

Client ID:  8dc14883-2c3f-4d56-acbb-54006bb0d045
Scopes:  launch/patient online_access openid 
response_type: code
aud:  https://fhir-ehr-code.cerner.com/dstu2/ec2458f2-1e24-41c8-b71b-0e701af7583d/
Redirect URI: https://live.avomd.io/
State: test

In the code console:
AvoMD
Application Type: Provider
Type of Access: Online
Application privacy: Public
Standard capabilities: launch, profile, fhirUser, openid 

Please help! I just need the authorization process to work before I need to interact with the apis. 
(Additional question: I don't see web embbed frame within code console, does Cerner have anything web embbed frame that I can work with? Or I can only test on my local machine.)
Thanks!

Neo Chen

unread,
Dec 8, 2022, 10:06:12 AM12/8/22
to Oracle Cerner FHIR Developers
HI, I tried different combinations of scopes and it still didn;t work the error are still the same. 

I tried
- openid fhirUser profile launch user/Observation.read online_access
- open id user/Observation.read online_access
- online_access
- openid
- launch
... etc

What is this no effective scopes present error ? What is the missing scopes that I was not aware of? 

Sincerely,
Neo Chen. 

Aaron McGinn (Oracle Cerner)

unread,
Dec 16, 2022, 9:17:20 PM12/16/22
to Oracle Cerner FHIR Developers
The client ID you provided is associated to a deleted app. Make sure the app you are testing with is the client ID you are using for authorization.

-Aaron (Oracle Cerner)
Reply all
Reply to author
Forward
0 new messages