Website Workflow Creation: Addressing Issues in WeWeb Setup and User Authentication

During the meeting, the State Changers discussed various aspects of their project built on WeWeb. They talked about a feature which validates a link based on whether the timestamp is greater than the link expiration time; upon failure, the page should redirect accordingly.


They encountered issues with not getting redirected as expected despite successfully setting up the variables in the workflow. After debugging the problem extensively they realized that one variable named "show password reset success" should have been set to 'false' but was mistakenly set to 'true'. Once corrected, the redirection feature worked as intended. Next, they discussed how to implement automatic redirection to the schedule page for already authenticated users who return to the platform. They concluded that they can accomplish this by saving an authentication token from the back-end to local storage and checking the validity of the token every time the login page is accessed. If the login page discovers a valid token, it would then redirect the user to the home page. Keywords mentioned include: WeWeb, and variables related to link validation, password reset, and user authentication.


(Source: Office Hours 2/3 )

State Change Members Can View The Video Here
chris-montgomery-smgTvepind4-unsplash.jpg

View This Video Now

Join State Change Risk-Free