-
Notifications
You must be signed in to change notification settings - Fork 82
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
FIX - Frontend Config Role Issue while switching from Cognito Idp to Custom Auth #938
FIX - Frontend Config Role Issue while switching from Cognito Idp to Custom Auth #938
Conversation
Changes from Open Source
Merged From Open source
New Changed Merged
…d alb frontend changes as per custom auth
…naming conventiosn and added guardrails
Testing the PR for both an Custom Auth and Cognito Deployment:
I think we can optimize some of the logic between custom auth deployments and default cognito auth deployments as an enhancement since it is not super straightforward. I would be inclined to do so at the same time or after we get user guide deployed with custom auth patterns so the resources defined for using different auth patterns are quite similar. For now this PR looks good and I will approve as is, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested and lgtm, approving
Feature or Bugfix
Detail
Added Conditional statement on using appropriate role when setting data.all with custom auth versus cognito.
Relates
#937
Security
Please answer the questions below briefly where applicable, or write
N/A
. Based onOWASP 10.
fetching data from storage outside the application (e.g. a database, an S3 bucket)? N/A
eval
or similar functions are used?By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.