I would like to allow my users to sign in to their user accounts using different methods, so they can still use username/password, but also Facebook and Apple instead.
To make this work, I would like to add social logins to an existing user account.
After reading the docs of bozhao:link-accounts
, I am a bit confused. There’s a section “Design notes”, but it is unclear if this is a “to do” list or a feature list.
In particular, I stumbled upon this note:
Save the linked service info on user.services, instead of creating new field on user object. This allow user logins the application from linked services.
Does this mean that link-accounts
won’t support alternative logins to the same user account at the moment? If so, is there any other package / best practices to achieve exactly that?
My main use case is: Our app did not support any social login so far. If we now add this feature, people would want to switch to the new auth method on new devices without losing their existing content.