As an user I want to login to the webapp
Tasks
-
Create new page that is public accessible with the route /login -
Login interface -
Input validation (should have something like firstname.lastname@domain.tld) -
Error message on validation error or error response from server -
User response after submit credentials -
If credentials correct redirect to main page /
-
-
Store jwt token -
Check validity of jwt token. -
if its expired redirect to login page -
if its valid and the user wants to open /loginredirect him to/
-
Edited by Matthias Feyll