-
updateUserAttributes 로 정보 업데이트를 하고 currentAuthenticatedUser 로 반환되는 user 정보에는 업데이트 전 데이터가 들어있음.
Auth.currentAuthenticatedUser({ bypassCache: true });
Auth.currentAuthenticatedUser({ bypassCache: true });
업데이트 후 위 코드 실행하여 변경된 user 조회 가능.
https://github.com/aws-amplify/amplify-js/issues/2534
Updating user attributes does not update cached user data · Issue #2534 · aws-amplify/amplify-js
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() refreshe...
github.com