How to add Authentication to your Eleventy Site
	
		
			November 08, 2021
			Watch in 7m minutes
			2k7414
		
	 
	
		
			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
			
			
			
		
	
	
	
	
		- 
			< 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
Bryan Robinson
Ooooh serverless routes for that... that makes so much sense!
Dave ♦️
Paging @SaraSoueidan 👀
Zach Leatherman
Yay!
Zach Leatherman
Thanks for sharing!