Cannot login with a patient via sandbox launch

105 views
Skip to first unread message

Pekka Lampila

unread,
May 25, 2022, 2:43:31 AM5/25/22
to Cerner FHIR Developers
Hi,

I'm trying to test my application with patient audience (app type) but when I'm using Test Sandbox to launch any of the patients I'm unable to login with the credentials given in the testing details page and I'm getting error described in the attached image.

The fact that POST to https://millennia.cerner.com/accounts/c1941.cern_abcn.cernerasp.com/ec2458f2-1e24-41c8-b71b-0e701af7583d/login/badfe21c-52c7-4e2c-9629-f9d9cdda8bca/login actually fails but returns 200 is also a bit confusing.

When I try to login as "portal" it logs in fine but throws an error about mismatched identity. Also standalone OAuth (without launch) was previously working for me with portal user and I was able to get the access token and id token.

Correlation ID: 85107bfa-4991-4af7-b551-016ee932ab4a

Let me know if more information is needed to figure this out.


 Screenshot 2022-05-25 at 0.36.14.png

Fenil Desani (Cerner)

unread,
May 25, 2022, 11:01:24 AM5/25/22
to Cerner FHIR Developers
Hello,

The above login screen is for Provider Apps. Please make sure you are calling the Patient Authorize endpoint.

Thanks,
Fenil

Reply all
Reply to author
Forward
0 new messages