-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
User Story
A user will need to be able to open up the app in the browser (/), enter their username & password and be redirected to the home screen (/home).
If the user is logged in and opens up the app in the browser (/) the user should be redirected to the home screen (/home);
If the user opens up the app in the browser at the home screen (/home) and they are not logged in they should be redirected to the root url (/).
Technical Details
- Uses JWT
- Stores JWT in an HTTP Only cookie
- Cookie name will be
sdmm-fc-sid
Things to keep in mind
- You have creative freedom to design the login form however you'd like
authController.jshas much if not all of the logic setup for an HTTP Only cookie- Include client-side validation
- An error message should pop up if wrong username/password (error message should be generated server-side)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request