Closed dtjanaka closed 2 years ago
Content LGTM but someone else should check for style etc.
If you want to add flow for getting new users to fill in info, you can do where it returns a state indicating new user and have the ui redirect to the info filling card if it's the "new user" state. This could be a separate branch though.
If you want to add flow for getting new users to fill in info, you can do where it returns a state indicating new user and have the ui redirect to the info filling card if it's the "new user" state. This could be a separate branch though.
The flow for getting new users to fill in info is implemented with the PENDING
state and registered
claim in the returned JWT. On the frontend, if a new user logs in, they are redirected to fill in their major and year. Once they fill this in, their state is changed to ACTIVE
.
How essential is my CR? To be frank, I don't really understand all the changes / how the SSO flow has been working; I can dive deeper but it would probably take a while; more than happy to do it if it's necessary though.
Did y'all resolve the incognito issue? If so, this is good to merge to me
I'd say wait until we nuke / back the database up before this gets merged though!
https://github.com/uclaacm/membership-portal-ui/pull/98