potentially linked with #116
For pages like: verify-email and complete-registration they relied on a client side route guard based on the redux store. When the state changes, the brief transition in state would create a flicker like user experience and would erase the extra query params assisting with page redirect (ex: after sign in, direct the user to add feed form)
Acceptance criteria
- Have a route guard for
verify-email and complete-registration that prevents the user to access these pages when not authorized to and also have a good user experience for users following the flow
- Think of a scalable way to implement route guarding (potentially the NextJs way)
potentially linked with #116
For pages like:
verify-emailandcomplete-registrationthey relied on a client side route guard based on the redux store. When the state changes, the brief transition in state would create a flicker like user experience and would erase the extra query params assisting with page redirect (ex: after sign in, direct the user to add feed form)Acceptance criteria
verify-emailandcomplete-registrationthat prevents the user to access these pages when not authorized to and also have a good user experience for users following the flow