Skip to content

User.signUp() invalid token session #426

@Danaru87

Description

@Danaru87

Hi all ;)

Using:

  • SDK 1.0.27
  • Flutter 1.20.2

When you create a user for the first time from a mobile app, everything is OK.

But, if the created user has been deleted on the server, the next time you register a new user from the same mobile application (same installation), the server will respond with 209 InvalidSessionToken.

Looking at ParseHttpClient we can see that if in ParseCoreData we have a sessionId, the request will be sent with the header "X-Parse-Session-Token: sessionId".

I think sessionId should not be sent for user registration/login and sessionId is not a good name, maybe sessionToken ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions