Replies: 4 comments 27 replies
|
hmm this is still in discussion phase, let's not create issue and PRs directly: we may not want to go with this direction yet. |
1 reply
|
for this topic, I don't think we should store password for providers. we can view this way:
|
6 replies
|
we should also make |
2 replies
|
What is the purpose of provider id? |
18 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
What we're proposing
Split the current authentication from all existing on the
Usertable to a newAuthProvidertable.Why
Currently everytime we want to add a new authentication service (e.g. facebook), we need to add a whole new set of columns to
TexeraDDLand also provide code to migrate older databases. It prevents the Users table from being a bloated god table, and better follows SOC.Considerations
There is a small performance overhead introduced by the needed psql query to join the User to their Authentication Providers, however, this is O(p) (where p is the number of providers a user has) operation and since p is small its effectively an O(1) op.
Questions for discussion:
All reactions