ionic-team / ionic-cloud-angular

Angular 2 Integration for Ionic Cloud
MIT License
29 stars 23 forks source link

access_token for linkedIn in undefined all the time #43

Open RezaRahmati opened 7 years ago

RezaRahmati commented 7 years ago

Hi

many thanks for ionic-cloud team that made life easier, I am using ionic cloud for Authentication in Ionic2 + Angular2,, I am able to authenticate with LinkedIn ,Google and Facebook, now I need to call some api on LinkedIn, which they need access token, but value of access token is undefined,

this.user.social.linkedin.access_token

I have test various conditions like at first time that user creates a profile or relogin, but it's the same value is undefined.

I have googled and I see that people are saying if using InAppBrowser it will be undefined, then if it's true, why do we keep this property on linkedIn model (because there is no option to not using InAppBrowser with linkedIn)?

I can submit a minimal application if it's required.


Sorry for resubmitting this issue, I didn't know on which repo I should send this. https://github.com/driftyco/ionic-cloud#172 https://github.com/driftyco/ionic-cloud-issues/issues/278 (Please kindly close the one that is not in the right repo)