Following this guide: GitHub - netlify/gotrue-js: JavaScript client library for GoTrue I am able to update a user through admin methods in a lambda function. However, I am not able to see those updates immediately on my site through the netlify-identity-widget’s currentUser object (GitHub - netlify/netlify-identity-widget: A zero config, framework free Netlify Identity widget) even after refreshing the page. I am forced to log the users out and back in to see the changes. Is there a way I can trigger currentUser to update/refresh manually? Thank you!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Logged in on client, not server | 15 | 997 | February 22, 2021 | |
How should i be refreshing my JWT? | 1 | 554 | June 6, 2020 | |
VueJS app out of sync after role updated externally via Netlify functions | 10 | 825 | February 6, 2021 | |
GoTrueJS "Remember Me" functionality | 14 | 2247 | November 13, 2021 | |
Netlify Identity - Refresh role on client side | 3 | 849 | February 9, 2021 |