Skip to content
This repository has been archived by the owner on May 7, 2019. It is now read-only.

jSherz/docs-auth-lambda

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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