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!