# Best approach for using Auth0 with Electron

**URL:** <https://community.auth0.com/t/best-approach-for-using-auth0-with-electron/41818>\
**Category:** Get Help\
**Created:** [April 27, 2020, 6:09am UTC](https://community.auth0.com/t/best-approach-for-using-auth0-with-electron/41818 "2020-04-27T06:09:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexo382](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alexo382/32/14018_2.png) [@alexo382](https://community.auth0.com/u/alexo382)\
**Post date:** [April 27, 2020, 6:09am UTC](https://community.auth0.com/t/best-approach-for-using-auth0-with-electron/41818/1 "2020-04-27T06:09:07Z")

</div>

Hi everyone,

I followed [this tutorial](https://auth0.com/blog/electron-tutorial-building-modern-desktop-apps-with-vue-js/) from the official blog to add authentication to my Electron + Vue app and it works fine, but now I’m facing some issues with loading the callback file/URL in Electron when updating from v6 to the latest version.

Are there risks when handling the entire authentication flow on the Vue side in Electron with the `@auth0/auth0-spa-js` plugin as described [here](https://auth0.com/docs/quickstart/spa/vuejs/01-login#create-an-authentication-wrapper)?

Thanks!

---

<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:** [April 27, 2020, 6:59am UTC](https://community.auth0.com/t/best-approach-for-using-auth0-with-electron/41818/2 "2020-04-27T06:59:49Z")

</div>

A post was merged into an existing topic: [Electron Tutorial: Building Modern Desktop Apps with Vue.js](https://community.auth0.com/t/electron-tutorial-building-modern-desktop-apps-with-vue-js/32627)

---

<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:** [April 27, 2020, 6:59am UTC](https://community.auth0.com/t/best-approach-for-using-auth0-with-electron/41818/3 "2020-04-27T06:59:50Z")

</div>


