Skip to content

Conversation

@ushu
Copy link

@ushu ushu commented Sep 15, 2017

Hello,

this PR adds a new option called is_mobile_sdk to the contructor of LinkedIn::API.
When turned on, this allows to contact LinkedIn with the tokens obtained through the Mobile SDK.

Basically, the usual approach to provide credentials (oauth2_access_token) does not work with these tokens, and you have to provide an "Authorization" header (+ a set of additional headers) to authenticate with the service.

We have this code running in Production with no issue.

@ushu ushu changed the title Add is_mobile_sdk options Add support for tokens from the Mobile SDK Sep 15, 2017
Adds `is_mobile_sdk` option that changes how the token is handled to the sdk,
to allow authentication using the tokens retreived with the mobile SDK.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant