aglinxinyuan commented on issue #6559:
URL: https://github.com/apache/texera/issues/6559#issuecomment-5054906400

   **History of the User System**
   
   **Version 1: Local Login**
   
   The initial version of the login system supported only local authentication 
using a **username** and **password**. The **username** served as the unique 
primary key for each user.
   
   **Version 2: Google Login**
   
   The second version supported only Google authentication. In this design, 
**email** effectively replaced the username, and **googleId** replaced the 
password as the authentication credential. The **email** field served as the 
primary key.
   
   **Version 3: Unified Authentication (Current)**
   
   The current version supports both local login and Google login. Instead of 
replacing one authentication method with another, it combines the data models 
from the previous versions by storing **username**, **password**, **email**, 
and **googleId** in a single user record. A new **userId** field serves as the 
primary key, allowing a single user account to support multiple authentication 
methods while maintaining a consistent user identity.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to