Closed BGarber42 closed 1 year ago
Hey @BGarber42, I'm taking care of the issue. Anyway, I suggest you to move to API-Key authentication instead of basic auth.
If I remember correctly, some of the endpoints we were hitting with generic_request_func
throw errors if trying to use an API key rather than credentials. I can see if I can find the actual error.
I'll be happy to hear about it! On which endpoints and the error message.
Describe the bug Code assumes the CSRF token is the first cookie returned by the server, this breaks if there's any sort of LB or caching in front of Demisto
To Reproduce Steps to reproduce the behavior:
Expected behavior Script can log in successfully
Error
HTTP response body: {"id":"forbidden","status":403,"title":"Forbidden","detail":"Issue with CSRF code","error":"http: named cookie not present","encrypted":false,"multires":null}