On Oct 26, 2019, at 4:16 PM, Jorge Rivera <jorge....@ssde.com.mx> wrote:
Hi everyoneI've been trying to embed the example-smart-app from github into a django application, I've created an app as a provider in code.cerner.com, I'm using stu2 and set the launch and redirect URIs to my django app. After launching the app and selecting the patient, the launch uri is called but when the time comes to go to the redirect URI I see a page showing an error message stating that the redirect URI is not the same as the one provided in the app that triggers the launch.This is the message I get from the response URL:https://authorization.sandboxcerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Agrant%3Ainvalid-redirect-uri/instances/6c1324ae-3fff-418e-bee0-c0cefe815b3f?persona=provider&client=XXXXX&tenant=XXXXX
What I can see in the browser console is a 404 for this URL: https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/.well-known/smart-configuration.Am I missing some hidden step here?Regards
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/55b717b4-36f1-4ec8-91bd-1d8fa7c8c163%40googlegroups.com.
<cerner-app-error-00.png>
I see that same error when I use spring boot. And I could never figure it out. So I had to manually obtain tokens to process request. I haven’t been able to find any solution to it.Sent from my iPhone
On Oct 26, 2019, at 4:16 PM, Jorge Rivera <jorge...@ssde.com.mx> wrote:
Hi everyone--I've been trying to embed the example-smart-app from github into a django application, I've created an app as a provider in code.cerner.com, I'm using stu2 and set the launch and redirect URIs to my django app. After launching the app and selecting the patient, the launch uri is called but when the time comes to go to the redirect URI I see a page showing an error message stating that the redirect URI is not the same as the one provided in the app that triggers the launch.This is the message I get from the response URL:https://authorization.sandboxcerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Agrant%3Ainvalid-redirect-uri/instances/6c1324ae-3fff-418e-bee0-c0cefe815b3f?persona=provider&client=XXXXX&tenant=XXXXXWhat I can see in the browser console is a 404 for this URL: https://fhir-ehr.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/.well-known/smart-configuration.Am I missing some hidden step here?Regards
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-developers+unsub...@googlegroups.com.