Difference between revisions of "External authentication service/Functional use cases and specifications"

From Open Food Facts wiki
Jump to navigation Jump to search
(New page describing new external authentication system with Ory Kratos)
 
 
Line 38: Line 38:
  
 
'''Rationale:''' When the user clicks forgot password they are asked to enter their email so they can reset their password.
 
'''Rationale:''' When the user clicks forgot password they are asked to enter their email so they can reset their password.
 +
[[Category:Auth]]
 +
[[Category:Developer]]
 +
[[Category:Use cases]]

Latest revision as of 11:03, 17 August 2024

1. The user is asked to enter username/email and password to sign in

  • The user enters their username/email
  • The user enters their password

Rationale: The user is asked to sign in if they want to add or edit products.

1.1 The system asks if user wants to logout

  • System asks if the user wants to logout

Rationale: The system asks the user if they want to logout.

1.2 The system asks user if they want to change account parameters

  • The user has the options to change
    • name
    • email address
    • password
      • The user enters their new password then re-enters to confirm the given password

Rationale: The user can change their name, email address, and password.

2. The user is asked to create an account

  • The user enters the following parameters
    • name
    • email address
    • username
    • password
      • The user enters their password then re-enters to confirm the given password

Rationale: When a user creates a new account they are asked to enter their name, email address, username, and password.

3. The system asks if user forgot password

  • The system asks the user to enter their email for instructions to reset password

Rationale: When the user clicks forgot password they are asked to enter their email so they can reset their password.