Posts by /u/rudvanrooy

Authenticate cloudfront requests via lambsa@edge

Hello, I have a static html website which I’m trying to protect from unauthorized use.. I’m struggling to find a proper way to implement that. What I’m trying is to have have lambda edge configured to run on viewer request and set authorization token in cookie of the browser and if user user doesn’t have the cookies in the header redirect them to hosted UI login page (SAML federated login). Is there an example I can follow to get this up and running? Thank you for your input.

submitted by /u/rudvanrooy
[link] [comments]

Read More