Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO SPIKE Data coming back from cognito is different than whats in the UI #26

Open
tylerq23 opened this issue Dec 4, 2022 · 0 comments

Comments

@tylerq23
Copy link
Owner

tylerq23 commented 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.

@tylerq23 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant