In order to build out the multiplayer capability,
We need the backend to respect our frontend auth token
And respect our development spoofed tokens when running in dev
So future development related to multi-player activity can rely on a pre-existing identity system.
AC
[ ] When firebse connects, websockets should connect and send over authentication tokens to the backend.
[ ] There needs to be support for incognito logins with spoofed usernames so multiplayer is easy to test on a single machine
[ ] The backend should validate the tokens and signal the frontend that it's in good form
[ ] The backend should know this user by it's UUID
[ ] Just for fun, the backend should know a command for 'whoami' to which it will reply with the user's UUID.
In order to build out the multiplayer capability, We need the backend to respect our frontend auth token And respect our development spoofed tokens when running in dev So future development related to multi-player activity can rely on a pre-existing identity system.
AC
Related Topics and Keywords