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

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


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

Related questions:

1 Like

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