Index-f795226a.js:10 Uncaught Error: auth0-spa-js must run on a secure origin

Hi All,

I’m getting below error on below screenshot

  1. Index-f795226a.js:10 Uncaught Error: auth0-spa-js must run on a secure origin
  2. Please ensure Auth0’s Vue plugin is correctly installed

Here is the URL of application
http://104.198.x.x:5173/

I have deploy VUE application and its running as docker container i expose through public ip with port number when i check in browser i got above error

can u help me out with that issue

here is npm version

sudo npm version
{
  npm: '10.3.0',
  node: '20.5.1',
  acorn: '8.10.0',
  ada: '2.5.1',
  ares: '1.19.1',
  base64: '0.5.0',
  brotli: '1.0.9',
  cjs_module_lexer: '1.2.2',
  cldr: '43.1',
  icu: '73.2',
  llhttp: '8.1.1',
  modules: '115',
  napi: '9',
  nghttp2: '1.55.1',
  nghttp3: '0.7.0',
  ngtcp2: '0.8.1',
  openssl: '3.0.10+quic',
  simdutf: '3.2.14',
  tz: '2023c',
  undici: '5.22.1',
  unicode: '15.0',
  uv: '1.46.0',
  uvwasi: '0.0.18',
  v8: '11.3.244.8-node.10',
  zlib: '1.2.13.1-motley'
}

Hi @rashid,

Welcome to the Auth0 Community!

It looks like you aren’t running your app on a secure origin.

More info here:

Let me check and i will get back to you

1 Like

Sounds good! Let us know.

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