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

Ionic.io Facebook auth gives empty name #11334

Closed
Sroose opened this issue Apr 23, 2017 · 2 comments
Closed

Ionic.io Facebook auth gives empty name #11334

Sroose opened this issue Apr 23, 2017 · 2 comments

Comments

@Sroose
Copy link

Sroose commented Apr 23, 2017

Ionic version:
[ X ] 2.x

I'm submitting a ...
[ X ] bug report

Current behavior:
Using Ionic.io services, after logging in with Facebook, I can fetch the user through the ionic.io api, but the [details][name] object will be empty. The first and lastname can however be found in the [social] structure. Also at the client side, the 'User' object does not contain the name, only via the user.social srtructure.

Expected behavior:
I would expect the login methods to be transparent and the user.name / details.name objects always to be filled in regardless of the authentication provider. For comparison, when I log in at ionic.io dashboard, facebook users do have their name and email in the general details.
Is this a bug or is there a reason to work like this?

Steps to reproduce:
Just use the textbook examples of this.facebookAuth.login() and api.ionic.io calls.

@jgw96
Copy link
Contributor

jgw96 commented Apr 24, 2017

This issue was moved to ionic-team/legacy-ionic-cloud#201

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants