Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Empty Identity Source for Request Lambda Authorisers #1720

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

aidant
Copy link

@aidant aidant commented Aug 11, 2023

Description

Add support for empty identity sources on request authorisers.

Motivation and Context

If you have a custom authoriser that supports checking multiple identity sources, you need to override the default identity source provided by AWS such that AWS does not validate any identity sources before calling the lambda authoriser. This is because AWS validates that all identity sources are present before calling the lambda authoriser, and since one of more of the identity sources may not be present this becomes an issue.

This used to work in version 11.3.0 but has been broken since.

How Has This Been Tested?

This has been tested locally to ensure that when a identity source of '' has been specified the custom authoriser is still run and is able to deny or approve the request.

Screenshots (if appropriate):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants