You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Relocate User Login info from User table to AuthProvider table. #7048
Separate user profiles from authentication mechanisms by creating a dedicated auth_provider table that unifies local login and third-party OAuth under a single interface. This opens the door to adding new authentication services in the future such as Github, Facebook, and other such services.
Problem
Storing authentication data directly on the users table forces new schema changes every time we add a login provider (e.g., OAuth) and turns users into a bloated "god table."
Unified Interface: Local auth becomes just another provider (provider = 'local'), removing conditional code paths.
Security: Isolates sensitive credential data from standard user profile queries (SELECT * FROM users).
Extensibility: Easily add new login providers without schema modifications on users.
Activity
Neilk1021 commentedon Jul 29, 2026
/take
refactor(common/auth): move login credentials to auth_provider (apach…