KittenSoup / wardly

0 stars 4 forks source link

Discord login and store token in session on server #53

Closed mollerdaniel closed 6 years ago

mollerdaniel commented 6 years ago

Still WIP but atleast what we have created works.. :) need to add fetching of guilds and stuff to also return

The frontend app could now try to login by going to:

/auth/discord/login and then expect the following back: {"error":{},"data":{"appenToken":"ryBl3nqx7"},"errorCode":0} the appenToken is our sessionId and should be passed in all requests to backend somehow.. (header?) or it will say "YOU SHALL NOT PASS" ;D