Why do i get "auth0-spa-js must run on a secure origin" error in application regular web

I am using a regular web application with pure Javascript and I get this error,
how could I pass it to https if the documentation does not show such explicit examples of this.
I would be grateful if you could help me with this error.
Thank you