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

AWSMobileClient:Auth add parameters for SignInResult init in getNewPasswordDetails #4200

Merged
merged 4 commits into from
Aug 15, 2022

Conversation

alexdambri
Copy link
Contributor

@alexdambri alexdambri commented Jul 1, 2022

Can't have access to AdditionalInfos when we receive nextStep = .newPasswordRequired. The parameter is never passed to SignInResult init in getNewPasswordDetails function. We receive every time parameters = nil because he is implemented like an optional parameter and never set in SignIntResult init into getNewPasswordDetails.

Issue #, if available: #4201

Description of changes:
Add missing parameters in getNewPasswordDetails to have requiredAttributes available in SignIntResult init

Check points:

  • Added new tests to cover change, if needed
  • All unit tests pass
  • All integration tests pass
  • Updated CHANGELOG.md
  • Documentation update for the change if required
  • PR title conforms to conventional commit style

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Add missing parameters for getNewPasswordDetails to have requiredAttributes available
@alexdambri alexdambri requested review from a team and awsmobilesdk as code owners July 1, 2022 07:39
harsh62 and others added 2 commits July 13, 2022 22:11
@harsh62 harsh62 self-requested a review August 15, 2022 14:36
@harsh62 harsh62 merged commit 5ce5333 into aws-amplify:main Aug 15, 2022
samkudr pushed a commit to samkudr/aws-sdk-ios that referenced this pull request Sep 26, 2022
…etNewPasswordDetails (aws-amplify#4200)

* Update AWSMobileClient+UserPoolAuthHelperCallbacks.swift

Add missing parameters for getNewPasswordDetails to have requiredAttributes available

* Update AWSAuthSDK/Sources/AWSMobileClient/Helpers/UserPoolHelper/AWSMobileClient+UserPoolAuthHelperCallbacks.swift

Co-authored-by: Harshdeep Singh <[email protected]>

Co-authored-by: Harshdeep Singh <[email protected]>
gabek pushed a commit to KeepSafe/aws-sdk-ios that referenced this pull request Aug 31, 2023
…etNewPasswordDetails (aws-amplify#4200)

* Update AWSMobileClient+UserPoolAuthHelperCallbacks.swift

Add missing parameters for getNewPasswordDetails to have requiredAttributes available

* Update AWSAuthSDK/Sources/AWSMobileClient/Helpers/UserPoolHelper/AWSMobileClient+UserPoolAuthHelperCallbacks.swift

Co-authored-by: Harshdeep Singh <[email protected]>

Co-authored-by: Harshdeep Singh <[email protected]>
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