Oh man this GitHub repo is the best, I think something like the authentication > oidc_authentication example is more what I’m looking for.
The end goal is to just have a button a twitch broadcaster can click, they authorize the app, and then it displays their moderator list. Sorry about the flow-chart, not something I’m used to doing. As for the fetch, I have it setup so it does a vanilla JS fetch and stores it on the mongoDB, and it at least works for the bearer token I already have from my personal twitch account, though obviously still figuring out how to allow anyone to use it. But what do you mean by:
you wouldn’t use a button + vanilla JS fetch request to go collect moderators