-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Facebook oauth data null after calling unlinkUserInBackground, cannot re-link facebook account. #996
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
Comments
I need the request logs from heroku when you call those operations. More importantly the full body of those requests Thanks! |
@lususvir also we have a unit test covering exactly that use case here: https://github.com/ParsePlatform/parse-server/blob/master/spec/ParseUser.spec.js#L1281 I've run a test on my machine with signup, link, unlink, link and I don't manage to reproduce the error |
Does your user have a username and a password? |
My user does have a username and password. Which is a whole other issue where whenever a user links facebook, their username gets replaced with a random string of text. But here are the logs, I'm not a back-end developer (hence the reason I was using Parse.com), so if this isn't want you need, let me know: Unlink
Re-Link
|
Could you try setting VERBOSE=1 in the heroku environment so I have more information (including the request bodies) (https://devcenter.heroku.com/articles/config-vars#setting-up-config-vars-for-a-deployed-application) |
Wonderful! I'll be able to investigate a bit more from there. |
@lususvir can you use the master branch as described in #1025 I believe the error is fixed now |
I started with the parse server example, can I just run |
now that should do yes |
Yes, that seems to have fixed the issue. Thanks. |
@lususvir sanitize yer logs |
I was pretty sure I removed my keys. |
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Environment Setup
Latest version of Parse-Server on Heroku with MongoLab.
Steps to reproduce
[PFFacebookUtils linkUserInBackground:[PFUser currentUser]...
dashboard shows facebook id and token under oauth{facebook: null}
[PFFacebookUtils linkUserInBackground:[PFUser currentUser]...
in the dashboard, the oauth field remains nullI can't re-link facebook until I delete the user account and re-sign up.
Logs/Trace
n/a
The text was updated successfully, but these errors were encountered: