O'Reilly logo

Lift Application Development Cookbook by Gilberto T. Garcia Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Signing up using a LinkedIn account

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.

Getting ready

  1. You can use the project from the Signing up using a Gmail account recipe or you can create your own project.
  2. Register your application on LinkedIn.
  3. Add app id and secret into the default.props file:
    linkedin.client.id=api-key
    linkedin.client.secret=api-secret

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required