How can I use with auth0-spa-js?

I’m trying to use the auth0-spa-js library (version 1.13.3) in a Vue.js application. However the IAM server I want to authenticate against does not allow “localhost” or “” as redirect URLs. Which leaves me with the only option of using “” as a redirect URL. The problem is that in this case I get the error “auth0-spa-js must run on a secure origin. See https://github…”.

Is there a way to use as a redirect URL with the auth0-spa-js library?