question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Updating user attributes does not update cached user data

See original GitHub issue

Is your feature request related to a problem? Please describe. Updating user attributes should update the cached user data.

Describe the solution you’d like Auth.updateUserAttributes() refreshes the cached user information with the updated attributes.

Describe alternatives you’ve considered Current solution is to call Auth.currentAuthenticatedUser({ bypassCache: true }) after Auth. updateUserAttributes().

Additional context n/a

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:29
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
andidevcommented, Mar 8, 2019

This have been driving me crazy for a year now. Thanks for workaround! It works like a charm! After calling Auth.currentAuthenticatedUser({ bypassCache: true }), Auth.currentUserPoolUser() now returns all updated attributes.

2reactions
iartemievcommented, Apr 15, 2020

Should be fixed now in the latest unstable release. Will be released to stable in the near future as well. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

User information isn't updated in Microsoft Teams
In this article. After user attributes are updated in Microsoft Teams, users continue to see the old information in the Teams client.
Read more >
jQuery's data() attribute does not update when element data ...
So I have to use the attr() to access each data attribute of an element to get its up-to-date value. Is there any...
Read more >
User and group cache not updating ... - One Identity Support
1. Open the ADSI Edit MMC snap-in. ADSI Edit is installed as part of the Windows Support Tools package. 2. Right-click the ADSI...
Read more >
ClearPass doesn't update user attributes from AD and ...
I have tried clearing the cache and then ClearPass did update the user's AD attributes. For point 2, then is there anyway to...
Read more >
how do the parameters "Refresh User Attributes" and "Cache ...
2) If refresh user attributes interval is set to 60 seconds (default) and the Cache USer attributes is also enabled and lets say...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found