hexgnu / linkedin

Ruby wrapper for the LinkedIn API
http://rdoc.info/gems/linkedin
MIT License
756 stars 407 forks source link

token_secret is not passed #255

Closed LeKristapino closed 9 years ago

LeKristapino commented 9 years ago

I tried looking at the callback hash of omniauth and I can't seem to find token_secret which is needed for this gem.

It only returns token and expiry date. Nothing about the secret.

Any suggestions?

hexgnu commented 9 years ago

Are you using omniauth-linkedin or omniauth-linkedin2?

LeKristapino commented 9 years ago

Fixed it. That was my problem. I was using omniauth-linkedin-oauth2 , but used a linkedin wrapper for Oauth 1.0a. When 'linkedin-oauth2' gem fixed the problem