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

**URL:** <https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [January 11, 2024, 1:27pm UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644 "2024-01-11T13:27:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rashid](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rashid/32/70866_2.png) [@rashid](https://community.auth0.com/u/rashid)\
**Post date:** [January 11, 2024, 1:27pm UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644/1 "2024-01-11T13:27:39Z")

</div>

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

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/f/1f60a91754366d6f3fd0a2d19442d52bb6eff93b.png)

Here is the URL of application  
[http://104.198.x.x:5173/](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

```auto
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'
}

```

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 18, 2024, 10:28pm UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644/3 "2024-01-18T22:28:12Z")

</div>

Hi @rashid,

Welcome to the Auth0 Community!

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

More info here:

> <https://github.com/auth0/auth0-spa-js/blob/main/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin>

---

<div class="post-metadata">

**Author:** ![rashid](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rashid/32/70866_2.png) [@rashid](https://community.auth0.com/u/rashid)\
**Post date:** [January 19, 2024, 4:10am UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644/4 "2024-01-19T04:10:01Z")

</div>

Let me check and i will get back to you

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 19, 2024, 7:26pm UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644/5 "2024-01-19T19:26:55Z")

</div>

Sounds good! Let us know.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 2, 2024, 7:27pm UTC](https://community.auth0.com/t/index-f795226a-js-10-uncaught-error-auth0-spa-js-must-run-on-a-secure-origin/124644/6 "2024-02-02T19:27:20Z")

</div>

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