bl1231 / bilbomd-ui

Frontend React SPA webapp for new BilboMD
2 stars 0 forks source link

Add a User Account page #10

Closed dsclassen closed 1 month ago

dsclassen commented 1 year ago

for users to edit their email address or username or delete their own account.

dsclassen commented 9 months ago

Given that we use one-time passcodes (OTPs) sent to the user's email address instead of traditional passwords, handling changes to the email address involves additional considerations to maintain security and integrity. Here's how you can approach it:

1. Email Change Request Verification

Since your application relies on email-based authentication, changing the email address is a sensitive action that should be carefully verified.

2. Validate New Email Ownership

Before finalizing the email change, verify the ownership of the new email address.

3. Invalidate Sessions and Re-authenticate

Upon successful verification of both the current and new email addresses, proceed with the email update and consider the security implications.

Considerations

This approach ensures that email changes are handled securely, respecting the importance of email addresses in your authentication flow and protecting user accounts from unauthorized access or modifications.

dsclassen commented 5 months ago

Working on this issue will also require changes to bilbomd-backend where all the email is sent from.

shrprabh commented 5 months ago

Update on '10-add-a-user-account-page' branch Completed: Merged the latest changes from the main branch into the '10-add-a-user-account-page' branch to stay in sync (as of July 3, 2024).

Next steps:

  1. Review the merged code and brainstorm ideas for implementing the user account page.
  2. Set up the local development environment and ensure the UI runs successfully.
  3. Begin implementation of the user account page based on the discussed requirements and ideas.
  4. Researching and getting to know more about Argo CD for continious deployment/delivery.