Comments (3)
You don't necessarily need to make an extra API call to get this info. You just need to ask for some extended permissions, in your case r_fullprofile
, and then specify the fields you're interested in. You will then get these fields back during the authentication process. I explain all this in the README.
If you want to make subsequent requests to the LinkedIn API, you can, but this is beyond the scope of OmniAuth. If you want to do this, I recommend you use a gem that wraps the LinkedIn API. I talk about this in the README as well.
from omniauth-linkedin.
Right, somehow I must have missed that the information is available in:
request.env['omniauth.auth']
after having granted authorization.
Thanks for the pointer to read the README more carefully.
from omniauth-linkedin.
In gem , are there any way to get full profile? I want get email by token. It alway return only: {"first_name":"test","headline":"Student at abc","last_name":"mely","site_standard_profile_request":{"url":"http://www.linkedin.com/profile/view?id=288....80&authType=name&authToken=I3GR&trk=api*a3...21*s3344461*"}}
from omniauth-linkedin.
Related Issues (20)
- Rake error HOT 1
- Add configurable scope for authentication HOT 3
- OmniAuth Hash Schema extensions HOT 4
- request_phase re-adds the scope if you revisit the auth page HOT 1
- no such file to load -- omniauth/linkedin HOT 1
- Returned public profile URL HOT 8
- oauth error HOT 3
- Randomly Getting Session Expired Error HOT 2
- Is there a way to refresh the access token using this gem? HOT 2
- Signing up via LinkedIn sends user to a 404 page HOT 2
- OAuth::Problem (consumer_key_unknown) HOT 1
- Omniauth-linkedin parameter_absent error. HOT 3
- Get email from token user
- Is there any helper function to update auth token HOT 1
- Omniauth stopped working few days ago
- LinkedIn is using OAuth 2 HOT 2
- uninitialized constant OmniAuth::Strategies::LinkedIn::MultiJson error when authenticating with LinkedIn HOT 3
- Getting 403, access to network denied error
- Sign in with linkedin javascript api
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omniauth-linkedin.