I am wondering whats the best way of combining mul...
# prisma-whats-new
t
I am wondering whats the best way of combining multiple auth methods for one account (email/password & facebook for example)? How to deal with situations when already registered user (via email) tries to login with using Facebook?
a
Most of the authentication example don't check for existing user by email, only by IdP ID. In a scenario where you combine multiple auth methods, you should adapt those to check by email instead of ID for existing users.