Skip to content
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

Updating User password creates new sessionToken not decoded on client #145

Closed
3 tasks done
cbaker6 opened this issue Jan 10, 2024 · 0 comments · Fixed by #147
Closed
3 tasks done

Updating User password creates new sessionToken not decoded on client #145

cbaker6 opened this issue Jan 10, 2024 · 0 comments · Fixed by #147

Comments

@cbaker6
Copy link
Member

cbaker6 commented Jan 10, 2024

New Issue Checklist

Issue Description

When updating the user password on the client, the sessionToken changes on the server. The new sessionToken isn't stored on the client resulting in any new calls to throw the error: Error: ParseError code=209 error=Invalid session token. See #136 (comment) for more details.

Steps to reproduce

  1. Sign up as a new user with a username & password
  2. Update the signed in user password
  3. Conduct a query
  4. Error will be thrown

Actual Outcome

Error: ParseError code=209 error=Invalid session token

Expected Outcome

All calls should work as normal with no error being thrown

Environment

Client

  • Parse Swift SDK version: FILL_THIS_OUT
  • Xcode version: FILL_THIS_OUT
  • Operating system (iOS, macOS, watchOS, etc.): FILL_THIS_OUT
  • Operating system version: FILL_THIS_OUT

Server

  • Parse Server version: FILL_THIS_OUT
  • Operating system: FILL_THIS_OUT
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): FILL_THIS_OUT

Database

  • System (MongoDB or Postgres): FILL_THIS_OUT
  • Database version: FILL_THIS_OUT
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): FILL_THIS_OUT

Logs

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

Successfully merging a pull request may close this issue.

1 participant