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

fix(auth): add signInDetails on refreshTokens action #13153

Merged
merged 4 commits into from
Mar 21, 2024

Conversation

israx
Copy link
Member

@israx israx commented Mar 20, 2024

Description of changes

getCurrentUser API will return signInDetails object. If the user has refreshed the session with fetchAuthSession then getCurrentUser will not return this object. This PR adds signInDetails on every refreshToken action

Verification

signInDetails

Issue #, if available

#13063

Description of how you validated changes

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

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

@israx israx force-pushed the fix/sign-in-details branch from d6f28dc to c4eb388 Compare March 20, 2024 18:20
@israx israx marked this pull request as ready for review March 20, 2024 18:31
@israx israx requested a review from a team as a code owner March 20, 2024 18:31
Copy link
Member

@ashwinkumar6 ashwinkumar6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@israx israx merged commit 1aafa48 into aws-amplify:main Mar 21, 2024
30 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.

3 participants