[Vuejs]-Authentication with Vue/Electron Application

0👍

JsStore is client side technology, which means if you are setting up authentication in client side, it will be available only to that device.

Let’s understand it more by use case –

Say your application named My Awesome app has authenticaion implemented. User register it and then they are able to use it after registration. They are logging out and signing in again with registration data and everything is working normal.

Here is what wrong with this approach –

  1. User buys another pc and installed application My Awesome app, he tries to login but unable to login because registration data does not exist on their new PC.

  2. Due to some issue, user hard disk crashed & he installed new hard disk. Same thing as above he is not able to log in.

So it is recommended to implement the signin on some server & keep data there.

Leave a comment