cirrus
cirrus

Reputation: 5662

OAUTH - Request Verified Email Address from LinkedIn

So I'm getting the user's email address during login over OAUTH with LinkedIn as per https://developer.linkedin.com/blog/making-it-easier-you-develop-linkedin

However, it doesn't seem that there's any way to ensure this is a "verified" email address as opposed to one that anyone could pretend to claim.

Other providers I've used won't serve up the primary email address for a user if they've not verified, and in fact often won't Auth at all. LinkedIn however seems to.

Does anyone know if this is by design or if there's a workaround?

Upvotes: 5

Views: 1083

Answers (2)

Mark Chackerian
Mark Chackerian

Reputation: 23512

I can confirm that as of 6/20/2016, LinkedIn DOES NOT allow OAUTH authentication with accounts that do not have a verified email address. If you try authenticate with LinkedIn you'll get the following error screen while allowing access:

LinkedIn OAUTH error screen

However, I was unable to find any official documentation on this matter.

Upvotes: 2

outsmartin
outsmartin

Reputation: 403

check out the OAuth v2 they use now, it requires a validated email address.

Upvotes: 7

Related Questions