nickshine / lambda-edge-azure-auth Goto Github PK
View Code? Open in Web Editor NEWAn AWS CloudFront Lambda@Edge function to authenticate requests with Microsoft Azure AD.
License: ISC License
An AWS CloudFront Lambda@Edge function to authenticate requests with Microsoft Azure AD.
License: ISC License
Hi @nickshine
I was able to build code and deploy it successfully but when I try to authenticate, I am getting stuck in an infinite loop.
After sometime the browser throws an error. I am not sure if I am doing something wrong. Can you please help?
Hi,
com.amazonaws.services.cloudfront.model.InvalidLambdaFunctionAssociationException: The function code size is larger than the maximum allowed size for functions that are triggered by a CloudFront event
I am getting this error following this guide (Step 2.ii): https://github.com/Widen/cloudfront-auth/wiki/Manual-Deployment. It seems the lambda zip it creates when I run ./build.sh
is too large.
I read up on the quotas, it seems like the 1MB is being exceeded for viewer requests: https://imgur.com/a/pSuzrFg
Did I do something wrong or is this normal? I'm trying to setup a lambda edge function with my cloudfront distribution to authenticate with Azure AD
So I am trying to use this module and do azure auth, but I just want to authenticate and not authorization. So how should I proceed? Suggestions plz
www.example.com/about
should redirect to www.example.com/about/
with trailing slash redirects option.www.example.com/about/
should retrieve www.example.com/about/index.html
object from an s3 backend origin with simple urls enabled.I think there's a syntax error here, typo:
https://github.com/nickshine/lambda-edge-azure-auth/blob/master/authz/microsoft.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.