Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.
/ docs-auth-lambda Public archive

Authenticate a static docs site hosted in S3 & CloudFront with GSuite (OAuth) and Lambda@Edge.

Notifications You must be signed in to change notification settings

jSherz/docs-auth-lambda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docs-auth-lambda

Build Status Codacy Badge Coverage Status Known Vulnerabilities

What is this?

This is a Lambda function designed for use with Lambda@Edge to authenticate requests via Google OAuth. Once logged in and checked against your domain, users are issued with a JWT that's then used in future requests.

What's the architecture?

  • A private ACL S3 bucket.
  • A Lambda function in the node8.10 runtime.
  • A CloudFront distribution with an origin access identity.
  • S3 bucket policy to allow access from the above policy to the S3 bucket.

How do I use it?

Blog post coming soon!

About

Authenticate a static docs site hosted in S3 & CloudFront with GSuite (OAuth) and Lambda@Edge.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published