How do automatic authentication?

2 posts / 0 new
Last post
CARLOS ACOSTA's picture
Joined: 02/08/2012
Fri, 02/17/2012 - 16:54
How do automatic authentication?

Hello,
I have a page where users previously logged, but being in, the idea is that as we have data from the user, then this data is performed automatic user authentication, but using these data, it is possible to do this ?

Eugene O'Neill's picture
Developer Advocate
Joined: 01/07/2011
Sat, 02/18/2012 - 18:46

If the user is currently logged into LinkedIn and has given permission to your application, you can use the authorize: true flag to auto authenticate the user.
e.g.

1
2
3
4
<script type="text/javascript" src="http://platform.linkedin.com/in.js">
  apiKey: YOUR_API_KEY,
  authorize: true
</script>

Hope that helps.

- Eugene