Skip to content

_linkWith fails to create a session for existing users #5785

Closed
@elios264

Description

@elios264

Issue Description

_linkWith on an existing user returns user with no sessionToken

Steps to reproduce

1.- have an user in db
2.- fetch it with a query
3.- call _linkWith on it

Expected Results

for the user object to have a sessionToken prop just like new users.

Actual Outcome

_linkWith returns no sessionToken

Environment Setup

  • Server

    • parse-server version (Be specific! Don't say 'latest'.) : 3.4.4
    • Operating System: windows
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): everywhere
  • Database

    • MongoDB version: mongo atlas db
      OUT]

Logs/Trace

Screen Shot 2019-07-09 at 15 20 26

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions