-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Queries never fail with 'InvalidSessionToken' error when user is logged with legacy session token #1605
Comments
Anyone has experienced this issue? |
I ran into this issue too - the last I check the parse server only returns 209 on any requests involving sessions. I wound up working around this issue by calling |
I also noticed that 209 is only returned when the request involves sessions. I can invalidate the user's session through the dashboard or other means, and the user can still make normal queries. From my understanding of the Parse documentation, after the session has been revoked, all requests should return 209. |
Looks like this issue was already brought up and closed, but not resolved, see #779 |
@cyu I followed your work around and this worked for me, but of course calling @sirnacnud Yes according to the documentation, all queries should return 209, but this is not the case at all : only way to get this error and then ask the user to log in again is to call For information, the problem is exactly the same with the Android SDK. |
We could implement the 209 fail upon failing session token in every requests I believe. What do you think @drew-gross ? |
Check out this issue for an ideal bug report. The closer your issue report is to that one, the more likely we are to be able to help, and the more likely we will be to fix the issue quickly!
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
Environment Setup
Steps to reproduce
The problem is that the queries doesn't return the error 209 as explained in the Session Migration Tutorial here : https://parse.com/tutorials/session-migration-tutorial
So it's impossible to handle this case to inform my users that they must log out then log in.
Additional information :
When I add "[PFUser enableRevocableSessionInBackground]" to the iOS client, no Session object is created after launching the client.
The text was updated successfully, but these errors were encountered: