Skip to content

Facebook oauth data null after calling unlinkUserInBackground, cannot re-link facebook account. #996

Closed
@mnearents

Description

@mnearents

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

  1. Create a PFUser. In Parse Dashboard, oauth data is 'undefined' (which is good).
  2. Link the current user's account with facebook using [PFFacebookUtils linkUserInBackground:[PFUser currentUser]... dashboard shows facebook id and token under oauth
  3. Unlink the currentUsers account with facebook using '[PFFacebookUtils unlinkUserInBackground:[PFUser currentUser]...`
  4. Check Parse Dashboard, the oauth data field reads: {facebook: null}
  5. Call [PFFacebookUtils linkUserInBackground:[PFUser currentUser]... in the dashboard, the oauth field remains null

I can't re-link facebook until I delete the user account and re-sign up.

Logs/Trace

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions