Oauth2 Discord Setup Tutorial

Hey I'm a developer that's fairly new to cloudflare(learning as I go). I currently have a website that I am hosting for my discord bot on cloudflare pages. I wanted to know if anyone had an in-depth tutorial on how to setup a 'Log in with Discord' Button on my website using Cloudflare. Basically I want this button to redirect back to the same website but now give users the ability to buy items from my shop(which redirects them to a stripe payment page). As a result I need to somehow store a discord id and also link that to a stripe customer id. If anyone has tips, repositories and guides on this stuff I would really appreciate it :)
1 Reply
SpikeZ
SpikeZOP5w ago
I already tried using https://github.com/Erisa/discord-oidc-worker this guide but it's not working. Probably my fault because I'm most likely doing something wrong. Also I'm not entirely sure if this is exactly what I need.

Did you find this page helpful?