You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally all fields were set up with the word "employee" I later realized this didnt make sense because the companies are "employers" who employ the drivers.
I originally created a user "employee1" with a profile type of employee in the cognito user pool. Once I fixed this by changing all references of employee to employer, I made the update to employee1's profile type in the cognito UI. In the cognito UI, it correctly displays the user as type "employer"
However, when I sign this user in through the next app, and console.log the response from cognito, I get back a user with profile type "employee"
Need to investigate why the data is desynced, how to remedy, and how to update data in the future.
The text was updated successfully, but these errors were encountered:
tylerq23
changed the title
TODO Data coming back from cognito is different than whats in the UI
TODO SPIKE Data coming back from cognito is different than whats in the UI
Dec 4, 2022
Originally all fields were set up with the word "employee" I later realized this didnt make sense because the companies are "employers" who employ the drivers.
I originally created a user "employee1" with a profile type of employee in the cognito user pool. Once I fixed this by changing all references of employee to employer, I made the update to employee1's profile type in the cognito UI. In the cognito UI, it correctly displays the user as type "employer"
However, when I sign this user in through the next app, and console.log the response from cognito, I get back a user with profile type "employee"
Need to investigate why the data is desynced, how to remedy, and how to update data in the future.
The text was updated successfully, but these errors were encountered: