issues
search
snap-cloud
/
snapCloud
Official cloud backend and community site for the Snap! programming language
https://snap.berkeley.edu/
GNU General Public License v3.0
52
stars
28
forks
source link
Multiple Login Providers / Identities
#330
Open
cycomachead
opened
1 year ago
cycomachead
commented
1 year ago
Users should be able to login via SSO / Google / Clever, etc.
These identities shouldn't require and special information, just the perm ID to the external provider
A Snap! email should be optional if an identity exists.
Existing users can associate 1 or more identities with an account
Users who have 1 identity can then create a snap email/password
TBD: Users should be able to have multiple external identities without an email/password combo.
Design Questions
Should we have an
identities
table?
Should we have a column per provider on the users table?
Should we have an
identities
hstore/jsonb column on the users table?
When a user is not logged in, and they use SSO - how we they associate an account?
If an account exists, and we can match via email, should we require a password?
Design Questions
identities
table?identities
hstore/jsonb column on the users table?