vue-auth icon indicating copy to clipboard operation
vue-auth copied to clipboard

Storing multiple user credentials

Open GMolini opened this issue 2 years ago • 1 comments

Hi, my issue its more of a question than a bug. Is it possible to have a user authenticate with multiple accounts, and then be able to retrieve those credentials?

Example: I want a user to be able to have signed in with both accountA and accountB, and be able to automatically choose the credentials for him without requiring him to log out log in again each time.

Thanks!

GMolini avatar Feb 28 '23 11:02 GMolini

The plugin itself does not support this, though it's just all simple http requests. It could likely be done with parseUserData override to store the different users by idea somewhere. And then a custom http driver for the tokens.

Though, depends on what you're trying to do and how other requests would get sent, etc.

websanova avatar Mar 01 '23 19:03 websanova