DEV Community

Discussion on: When signing up or logging into an app, do you prefer OAuth (authentication w/social media account) or email sign up/sign in?

Collapse
 
tbroyer profile image
Thomas Broyer

First, don't use OAuth; use OpenID Connect: oauth.net/articles/authentication

As to whether I prefer OIDC vs mail, definitely OIDC as I won't have to create a new password. BUT only if you don't ask too much things about me: ideally, you wouldn't need anything at all, but asking for my name and possibly profile pic is OK. If you ask for my email address, birth date, or phone number, you'd better have a really good reason, or I'd simply not sign up (BTW, this is one of the things GDPR gets right)