Skip to Main Content

SMART Launch

Announcement

For information related to the Oracle Partner Network (OPN) Industry Healthcare Track please visit our OPN Industry Healthcare Program page.

For specific questions related to Oracle Partner Network (OPN), please contact Partner Assistance.

Millennium FHIR and non-FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com
Soarian FHIR API Specifications and Supporting Documents can be found HERE on docs.oracle.com.

Mpages in Edge

user-semlnMay 24 2023

I have two questions about trying to open my SMART app in MPages/provider view. I have a React app that uses Auth0 for authentication.

When I try to open my app in Provider View - Edge, I get the following error: auth0-spa-js must run on a secure origin. Is there some way I can get around this? I noticed in the console that “MPage is loaded in HTTP Context.”

Also, my app is loading just fine in Provider View (not Edge) but I want to redirect to a different route in my app if the app is opened in the mPages context. How can I know what context it has been opened in from my React app? Is there a flag I can use/something I can read on the window to know whether or not I'm in MPages?

Thank you!

This post has been answered by user-semln on Jun 9 2023
Jump to Answer
Comments
Post Details
Added on May 24 2023
2 comments
509 views