lijim / monks-and-mages

Monks and Mages is a TCG-game built on React and socket.io
https://www.monksandmages.com
MIT License
17 stars 0 forks source link

Add auth0 integration #369

Closed lijim closed 2 years ago

lijim commented 2 years ago

Closes: #365

Basic implementation of auth0 on both the server and client side of the game. This was a challenging endeavor that required 5 separate NPM packages just to get everything working. None of the existing auth0 socket.io integrations considered the fact that you might want to have authentication be optional (guest mode), which presented a challenge in writing this for the backend.

Client side:

Server side

Player impact:

New sign-in screen:

Screen Shot 2022-05-20 at 11 14 45 PM
lijim commented 2 years ago

Additional notes: