casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
48 stars 8 forks source link

Add the ability to create a user with a userKey #432

Closed KallynGowdy closed 4 months ago

KallynGowdy commented 4 months ago

Currently, the only way to impersonate a user is to login as them. This entails creating a login request, answering the challenge, and obtaining a session key for the user. Additionally, this is also the only way to create a user account. Ideally, we would let a user create new user accounts that have no email or phone number, but can be accessed via a userKey, which is a sessionKey that never expires and cannot be replaced.

This feature will help enable machine accounts and temporary accounts.