Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix a bug with authentication API endpoint returning internal server error under gunicorn if auth.api_url config option was not set #4809
This pull request fixes a bug with
NOTE: First I couldn't reproduce the issue, but it turns out it only happens when using gunicorn deployment.
When running st2auh directly, the WSGI implementation simply casts all the "None" header values to empty strings, but that's not the case for gunicorn.
Originally reported here - https://forum.stackstorm.com/t/ldap-error-handling-api-call-failed-expected-string-or-buffer/893.