-
Notifications
You must be signed in to change notification settings - Fork 820
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(amplify-category-auth): update attr mapping... #7979
fix(amplify-category-auth): update attr mapping... #7979
Conversation
…ivate key and attr mapping Cognito SDK takes null for the private key if users want to update everything but the private key and updating to reflect the correct attribute mapping for siwa fix #7793
Codecov Report
@@ Coverage Diff @@
## master #7979 +/- ##
=======================================
Coverage 53.70% 53.70%
=======================================
Files 563 563
Lines 28554 28554
Branches 5541 5541
=======================================
Hits 15336 15336
Misses 12221 12221
Partials 997 997
Continue to review full report at Codecov.
|
Reverting this change as it was merged by accident. @letsbelopez could you please open another PR with your changes? |
👋 Hi, this pull request was referenced in the v5.5.0 release! Check out the release notes here https://github.com/aws-amplify/amplify-cli/releases/tag/v5.5.0. |
* fix(amplify-category-auth): fixes being able to update siwa w/ out private key and attr mapping Cognito SDK takes null for the private key if users want to update everything but the private key and updating to reflect the correct attribute mapping for siwa fix aws-amplify#7793 * fix(amplify-category-auth): enable update siwa w/ out private key Co-authored-by: David Lopez <[email protected]>
…fy#7979)" (aws-amplify#8115) This reverts commit 94d2491.
…and update siwa w/ out needing to pass private key
Cognito SDK takes null for the private key if users want to update everything but the private key (for headless use)
and updating to reflect the correct attribute mapping for siwa.
fix #7793
Description of changes
Updating string-maps to reflect the new SIWA attr mapping. Updating the cfn template for the custom resource that updates SIWA identity provider. Cognito SDK can take a null value as the private key on an update. If null is passed all other values are updated but the private key. Makes it easier for users to update SIWA because the private key value may not be easy to reproduce. This matches what Cognito is doing in their console app.
Issue #, if available
#7793
Description of how you validated changes
Ran cli commands:
Ran tagged release for this fix with Amplify Console builds.
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.