Hosting auth0-spa-js plugin -After hosting in apache Getting error (auth0-spa-js must run on a secure origin.)

Hi,
I was developed a vuejs application with auth0-spa-js .But in my development environment (Local host its working well).
Once i deployed Apache & S3(AWS) then i tried to access my page the landing page working.When i click my LOGIN button the call not routing to Auto for authentication error in console .Saying that auth0-spa-js must run on a secure origin.

Due to the above error i could’t able to host my application

Could you guys help in this at earliest

Regards
Mydeenali

Hi @mydeenali,

as the message says, it requires a secure origin, meaning https, not http. Make sure your web application is available under such. You can get free SSL/TLS certs at letsencrypt.com

Related questions:

http://community.auth0.com/search?q=auth0-spa-js%20must%20run%20on%20a%20secure%20origin

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.