I'm experiencing an issue with the REST API login that occurs inconsistently. Sometimes, when I send a POST request to the login route, it works as expected. However, other times, the same request results in a redirect instead of returning the expected response.
I've reviewed the REST API code but haven't found anything that could be causing this behavior. Has anyone encountered a similar issue or have any ideas on what might be causing this? Any help would be greatly appreciated!