Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Invalid session token in Parse, after changing password

I'm making an app which in a user can change his password. After logging in everything works perfect, but after opening the "Profile" activity and setting the password, when I go back to other activities which use ParseUser queries, I get an "Invalid session token" error. It happens only after saving the new password (With ParseUser.LogInBackgroud...). How can I fix this?

Thanks

like image 549
Eli Eliashar Avatar asked Apr 11 '26 04:04

Eli Eliashar


1 Answers

Modifying the password will by default delete all of that user's sessions. At that time, you need to have the user log in again in order to create a new session. See your app's settings on Parse under User Sessions.

like image 109
Jordan H Avatar answered Apr 14 '26 05:04

Jordan H