Skip to content
New issue

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

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

Already on GitHub? # to your account

AuthenticationClient.getProfile returns as string text instead of a parsed JSON #158

Closed
polad opened this issue Feb 6, 2017 · 0 comments

Comments

@polad
Copy link

polad commented Feb 6, 2017

I'm using AuthenticationClient.getProfile() function to retrieve user info as a Promise instead of a callback like so:

authClient.getProfile(credentials).then(userInfo => { ... })

And the promise resolves userInfo object to a String text instead of being parsed into JSON. Is there a setting or a flag that I'm missing somewhere in the Client config? This happens on v2.6.0. I can confirm that I didn't experience this before with version 2.3.1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant