Auth0-spa-js must run on a secure origin

I’ve tried to deploy my React SPA application on an AWS S3 bucket.

The site works successfully on Safari, but I receive this error in chrome:

Uncaught (in promise) Error: 
      auth0-spa-js must run on a secure origin.
      for more information.

I’ve looked at this:
And this:
Working with auth0-spa-js locally

Neither of which seem to help.

The site runs on http, but it’s odd that works on Safari, not chrome.

Edit: it also works on chrome mobile, so the only place that it does not work is Chrome desktop.

1 Like

This same issue occurs on Firefox. My app is a react app running in a NGINX container in fargate.

Auth0 - please help

I’m sure this runs fine on SSL protected circuit/load balancer but it should also work on a non SSL connection.

Note: This behaviour does not exibit it self when routing through ngrok

I am also facing the same issue as @luke1.
No luck so far… :frowning_face:

UPDATE: I never found a solution and just switched it to https

I’ve NEVER seen a forum topic where an Auth0 engineer fucking replies and helps, they are forcing everyone to pay for support… Why no auth0 staff member ever replies??? Do they check the ■■■■■■■ forum???