aws-samples / aws-samples/lambdaedge-openidconnect-samples

Sharing Lambda between distributions results in incorrect redirects

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
73
Forks
22
Avg merge
19h 45m
Merged PRs (30d)
1

Description

I'm trying to use this lambda on two different Cloudfront distributions, with 2 different corresponding OIDC configs.

However it looks like either something is being cached or possibly I'm hitting a container reuse issue?

How can I work-around this issue?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Lambda's redirect handling when it is attached to two CloudFront distributions with different OIDC configurations. Reproduce the behavior with both distributions and verify that each redirect uses its corresponding configuration; document the confirmed workaround or corrected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
authentication, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.