andlo779 / cement

MIT License
1 stars 0 forks source link

[FE] Login #2

Open andlo779 opened 2 years ago

andlo779 commented 2 years ago

As a USER I want to be able to login in the user interface so I can see the resources I have the access to.

Acceptance criteria:

User flow [WIP]

  1. User go to /
  2. Main page is loaded with Header and Footer
    • Header has navigation to home + about + login
  3. User clicks on Login
  4. Login popup is shown
  5. User provides auth data + clicks login (send)
    • If TwoFactorAuth is active new popup is shown
    • User provides OTP + click login
  6. Popup is minimised + login in Header changes to logout + Left side Navigation is shown
    • Navigation can be minimised (burger style)
andlo779 commented 9 months ago

Idea - Maybe the flow should be different as the plan is not to allow people to sign-up/register for the app by them self. More a private app just for me. So, maybe users will be directed to login page if they don't have valid jwt token.