Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find out if webview was used instead of Linkedin view. #14

Open
BenBach opened this issue Jun 19, 2017 · 2 comments
Open

Find out if webview was used instead of Linkedin view. #14

BenBach opened this issue Jun 19, 2017 · 2 comments

Comments

@BenBach
Copy link

BenBach commented Jun 19, 2017

Is there a way to find out that web view was used to login instead of the linkedin app.

I want to use the token server side. If the linkedin app was used I need to pass the additional header 'x-li-src' : 'msdk', but when the web view was used I can't use this header.

Is there a way to find out which of the two login possibilities were used?

@sregg
Copy link

sregg commented Jul 31, 2018

@BenBach I'm having the same issue. Have you been able to fix this?

@sregg
Copy link

sregg commented Jul 31, 2018

Oh actually I found out that the LinkedIn.signIn() returns an object containing a fromMobileSDK boolean!

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

No branches or pull requests

2 participants