In this recipe, we'll continue our journey through social media and we'll make the user of your application capable of authenticating it using their LinkedIn account.
The authentication process using someone's account is just like the process we learned when authenticating the user using his or her Gmail account. This means that we first need to get an authorization token and an access token before being able to get information about the user.
You can use the project from the Signing up using a Gmail account recipe or you can create your own project.
Register your application on LinkedIn.
Add app
id
andsecret
into thedefault.props
file:linkedin.client.id=api-key linkedin.client.secret=api-secret