You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was investigating why the logout.php script included from login.php always returns "Token Invalid/Expired" i.e. when the returned http status is something other than 200. It doesn't seem to really do anything from what I can tell.
The http code that's returned whenever this script is called, passing in the old token, is 405 (method not allowed). I'm not sure the end-point (url /api/auth/logout), or perhaps the parameters sent for that request are valid?
(Everything else seems to work btw, thanks for putting this collection of scripts together!).
The text was updated successfully, but these errors were encountered:
Hi,
I was investigating why the logout.php script included from login.php always returns "Token Invalid/Expired" i.e. when the returned http status is something other than 200. It doesn't seem to really do anything from what I can tell.
The http code that's returned whenever this script is called, passing in the old token, is 405 (method not allowed). I'm not sure the end-point (url /api/auth/logout), or perhaps the parameters sent for that request are valid?
(Everything else seems to work btw, thanks for putting this collection of scripts together!).
The text was updated successfully, but these errors were encountered: