aws-samples / aws-samples/authorization-lambda-at-edge

More resilient auth

Open
#1 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
105
Forks
38
PR merge metrics
No merged PRs in 30d

Description

The authentication here is no longer recommended and the newer Oauth2 recommendations are to use both state and client secrets. I have implemented such an authentication here: https://github.com/holy-order-of-the-lambda-cube/CognitoOauth2S3Website

The differences between the two projects are too divergent for a pull request but the essence of the lambda@edge function is similar and I was able to do a client secret directly from lambda to avoid exposing the secret to the browser.

I can change the licensing if necessary if you would like to adapt my script to include here for a much more secure authentication.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.