Implementing OAuth in Astro

As I continue to dig into Astro, one of the areas I wanted to explore was security and authentication. The Astro docs have an entire section on authentication in which they mention multiple different third party projects you can use with Astro, but I wanted to take a stab at building something myself. Once again I figured this would be a useful way to get some experience with parts of Astro I had not used yet, specifically sessions and middleware. We all know what OAuth is… right? I can remember being incredibly confused by OAuth in the past. Honestly I felt like I was the only one who didn’t get it. So I forced myself to build a few demos in that area to help it click and I realized... more →
Posted in: JavaScript