How to add Authentication to your Eleventy Site
November 08, 2021 Watch in 7 minutes
A demo project and walkthrough showing how to secure some of your Eleventy Serverless pages behind OAuth authentication providers.
- Login with GitHub, Netlify, or GitLab (and easily extensible to add more!)
- This demo uses zero clientside JavaScript.
- Serverless templates can be secured with a simple addition to the template front matter.
Walk-through
Demo
https://demo-eleventy-serverless-oauth.netlify.app/
4 Comments
@zachleat
Thanks for sharing!
@zachleat
Yay!
@DavidDarnes
Paging @SaraSoueidan 👀
@brob
Ooooh serverless routes for that... that makes so much sense!