Android LinkedIn SDK produces unusable access tokens

前端 未结 3 886
青春惊慌失措
青春惊慌失措 2020-12-11 17:45

What I am trying to accomplish:

  • Authenticate w/ LinkedIn via their Android SDK
  • Fetch User\'s profile to obtain their userId
  • Create new user a
3条回答
  •  生来不讨喜
    2020-12-11 18:36

    As noted in LinkedIn's Android SDK authentication documentation (https://developer.linkedin.com/docs/android-sdk-auth),

    Mobile vs. server-side access tokens

    It is important to note that access tokens that are acquired via the Mobile SDK are only useable with the Mobile SDK, and cannot be used to make server-side REST API calls.

    Similarly, access tokens that you already have stored from your users that authenticated using a server-side REST API call will not work with the Mobile SDK.

提交回复
热议问题