joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Token login

Open rglover opened this issue 3 years ago • 0 comments

Just set up a Mullvad account and was blown away by how slick the anonymous token-based username workflow functions. This would be insanely easy to add to Joystick. Possible API:

// Signup is just to generate a token:

const token = await accounts.anonymous_token();

// Login is just to pass the token instead of a user/pass:

accounts.login({ anonymous_token: 'abc123' });

Everything else should be roughly the same as far as database. Maybe just a few tweaks.

rglover avatar Jun 20 '22 14:06 rglover