RSPSApp / elvarg-rsps

16 stars 40 forks source link

Login via Discord (Oauth2) #77

Closed tobywisener closed 1 year ago

tobywisener commented 2 years ago

This task involves plugging in the following package and allowing authentication via discord.

-Implement oauth2 discord api using the linked package -Client side: Replace New User button (left button) with "Login via Discord" -Client should open browser and return with token to client, client should then send token and discord user ID, username to server -Add a field for discordUserId to Player, and add it to PlayerSave so it gets persisted -(If needed) Add a discordToken to Player/PlayerSave

https://github.com/Mokulu/discord-oauth2-api

shogunrsps commented 2 years ago

Task started

tobywisener commented 1 year ago

Done. Needs integrated with Webclient