How to add Authentication to your Eleventy Site
November 08, 2021
Watch in 7m 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
Source Code
Tags:
Eleventy
Project
Speaking
1,904 Views
-
< Newer
-
-
Older >
-
Shamelessly plug your related post
These are webmentions via the IndieWeb and webmention.io.
Sharing on social media?
This is what will show up when you share this post on Social Media:
How did you do this? I automated my Open Graph images. (Peer behind the curtain at the test page)
4 Comments
@brob
Ooooh serverless routes for that... that makes so much sense!
@DavidDarnes
Paging @SaraSoueidan 👀
@zachleat
Yay!
@zachleat
Thanks for sharing!