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

feat: not check cognito User Pool Authorizers for OPTIONS method #1834

Merged
merged 7 commits into from
Nov 14, 2024

Conversation

vumdao
Copy link
Contributor

@vumdao vumdao commented Nov 7, 2024

OPTIONS requests should be allowed without authentication.

OPTIONS is the HTTP method used for CORS-preflight requests and the CORS specification confirms as follows:

a CORS-preflight request never includes credentials.

@vumdao vumdao changed the title Not check cognito User Pool Authorizers for OPTIONS method feat: not check cognito User Pool Authorizers for OPTIONS method Nov 7, 2024
test/rules/Cognito.test.ts Outdated Show resolved Hide resolved
test/rules/Cognito.test.ts Outdated Show resolved Hide resolved
@vumdao
Copy link
Contributor Author

vumdao commented Nov 12, 2024

@dontirun any more comments?

@dontirun
Copy link
Collaborator

@vumdao Can you run npx projen build locally and commit any changes?

image

@vumdao
Copy link
Contributor Author

vumdao commented Nov 13, 2024

@dontirun Done, thanks!

@mergify mergify bot merged commit e9dfd46 into cdklabs:main Nov 14, 2024
12 checks passed
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.

2 participants