jack3898 / ohssbot

GNU General Public License v3.0
0 stars 0 forks source link

Add login with discord button #19

Closed jack3898 closed 7 months ago

jack3898 commented 7 months ago

The website needs to have some level of authentication. A simple sign up button:

No in-house authentication. All we need is a discord token with some basic permissions just so we can read the user id! Then, things can be linked to their id.

The website should be able to at least render: "Hey, {name}!" to the UI when they are logged in as proof it is working.

jack3898 commented 7 months ago

Realised now I have TRPC set up, I should use TRPC for this. So I should update the callback url to use it tomorrow. When this ticket is complete, I should port the osu auth callback to use trpc too.

jack3898 commented 7 months ago

image