# Issue with oauth not running on a secure origin

**URL:** <https://community.auth0.com/t/issue-with-oauth-not-running-on-a-secure-origin/44278>\
**Category:** Get Help\
**Created:** [June 8, 2020, 12:36pm UTC](https://community.auth0.com/t/issue-with-oauth-not-running-on-a-secure-origin/44278 "2020-06-08T12:36:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bradleyhills](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bradleyhills/32/21791_2.png) [@bradleyhills](https://community.auth0.com/u/bradleyhills)\
**Post date:** [June 8, 2020, 12:36pm UTC](https://community.auth0.com/t/issue-with-oauth-not-running-on-a-secure-origin/44278/1 "2020-06-08T12:36:07Z")

</div>

I was following the tutorial detailed in: ([Beginner Vue.js Tutorial with User Login](https://auth0.com/blog/beginner-vuejs-tutorial-with-user-login/#)).

When I got to the authentication portion I followed each step closely but I am getting this message in console using Chrome:

vue.runtime.esm.js?2b0e:1888 Error:  
auth0-spa-js must run on a secure origin.  
See [auth0-spa-js/FAQ.md at main · auth0/auth0-spa-js · GitHub](https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin)  
for more information.

```
at eval (auth0-spa-js.production.esm.js?9767:15)
at new e (auth0-spa-js.production.esm.js?9767:15)
at eval (auth0-spa-js.production.esm.js?9767:15)
at eval (auth0-spa-js.production.esm.js?9767:15)
at Object.eval [as next] (auth0-spa-js.production.esm.js?9767:15)
at eval (auth0-spa-js.production.esm.js?9767:15)
at new Promise (<anonymous>)
at o (auth0-spa-js.production.esm.js?9767:15)
at eval (auth0-spa-js.production.esm.js?9767:15)
at _callee3$ (index.js?b628:86)

```

Any ideas what I could have done wrong?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 8, 2020, 1:22pm UTC](https://community.auth0.com/t/issue-with-oauth-not-running-on-a-secure-origin/44278/2 "2020-06-08T13:22:04Z")

</div>

2 posts were merged into an existing topic: [Beginner Vue.js Tutorial with User Login](https://community.auth0.com/t/beginner-vue-js-tutorial-with-user-login/33467)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 8, 2020, 1:22pm UTC](https://community.auth0.com/t/issue-with-oauth-not-running-on-a-secure-origin/44278/3 "2020-06-08T13:22:05Z")

</div>


