GitHub user Neilk1021 added a comment to the discussion: Proposal - Migrating 
User Authentication to a new table to support multiple log-in sources.

That’s actually how it’s currently implemented in the draft branch. The 
`password` field is used exclusively for local auth, while third-party 
providers only store `provider_id` and provider-specific details.

We split these into separate columns for semantic clarity, enforced by a 
constraint so a single row can never have both a `password` and a 
`provider_id`. The reason local auth lives in the `auth_providers` table 
alongside OAuth is simply to keep all authentication logic standardized in one 
place.

GitHub link: 
https://github.com/apache/texera/discussions/6716#discussioncomment-17757798

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to