jeyben / IOSLinkedInAPI

Simple and non intrusive library to get access tokens for LinkedIn using Oauth2.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authentication in other webviews?

benbruscella opened this issue · comments

This is a feature question...

Once the user authenticates using this library, I present them with another webview showing them their profile obtained from the LinkedIn API.

Specifically, the problem I'm having is displaying their "site-standard-profile-request" profile URL. This requires a login to be viewed, unlike public profiles. LinkedIn is asking the user is to login again in the second WebView, then everything works fine.

Are suggestions/plans as to authenticating that second WebView from the Oauth2 session? I've tried manually managing cookies from the session but no luck so far.

Currently it is not in the pipeline. I have had the API in mind of providing a programmatically way of accessing data.

BUT if you find/found a neat way to provide the access token to the next web request you do in the second web view you are more than welcome to submit a pull request!

@benbruscella: Have you got any solutions. I face the same problem.