How to add Authentication to your Eleventy Site
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
@brob
Ooooh serverless routes for that... that makes so much sense!
@DavidDarnes
Paging @SaraSoueidan 👀
@zachleat
Yay!
@zachleat
Thanks for sharing!