auth
-
amplify auth updateUserAttributes 후 currentAuthenticatedUser 갱신 안되는 문제dev/aws 2019. 7. 4. 16:13
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 fea..