Skip to content
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.

Ionic.io Facebook auth gives empty name #201

Open
jgw96 opened this issue Apr 24, 2017 · 0 comments
Open

Ionic.io Facebook auth gives empty name #201

jgw96 opened this issue Apr 24, 2017 · 0 comments

Comments

@jgw96
Copy link

jgw96 commented Apr 24, 2017

From @Sroose on April 23, 2017 18:6

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.

Copied from original issue: ionic-team/ionic-framework#11334

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

1 participant