Replies: 1 comment 2 replies
-
Hey @notchris — I'm going to move this to a Discussion instead of an issue, as I think this has to do with your implementation. Question - are you using Postman or something to test this? All the https://github.com/payloadcms/payload/blob/master/src/auth/operations/logout.ts You can see here that a This looks to be the only way that you'd be getting a Forbidden error. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug Report
Hello and thank you for making payload awesome. I am having a weird issue where I get a 403 response when trying to log out a user who has logged in via the API. I've checked the following:
Then, I send a POST request to the /users/logout endpoint and get this response back:
Expected Behavior
Upon hitting the logout endpoint, there should be a valid response. I'm assuming my configuration is causing this issue, but I've tried to follow the documentation closely.
Current Behavior
Possible Solution
Steps to Reproduce
Detailed Description
Beta Was this translation helpful? Give feedback.
All reactions