The website needs to have some level of authentication. A simple sign up button:
Login with Discord
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.
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.
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.