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

logout.php call returns http 405 - method not allowed #19

Open
glubbah opened this issue Jun 3, 2021 · 0 comments
Open

logout.php call returns http 405 - method not allowed #19

glubbah opened this issue Jun 3, 2021 · 0 comments

Comments

@glubbah
Copy link

glubbah commented Jun 3, 2021

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!).

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

No branches or pull requests

1 participant