The goal here is to create the ability to session users for the purposes of identifying unique people. Since everyone on the website uses Twitch, and Twitch offers an identity solution, we'll use that. We only care about collecting their user ID so we can differentiate between users, and their avatar image and username so we can display it when the user is logged in.
Here are some high-level tasks:
[x] Need an app created on Twitch
[x] Need some way for this to work locally during development
[x] Create a session in Next.js app
[x] Update UI to show user avatar instead of Login button
The goal here is to create the ability to session users for the purposes of identifying unique people. Since everyone on the website uses Twitch, and Twitch offers an identity solution, we'll use that. We only care about collecting their user ID so we can differentiate between users, and their avatar image and username so we can display it when the user is logged in.
Here are some high-level tasks:
Depends on: #4