1ece440ac5
Sometimes when mistral requests are failing with "401 Unauthorized" against keycloak, the reason are not mentioned in the logs. In case keycloack return 401 it must provide the www-Authenticate response header with the reason: https://www.w3.org/Protocols/HTTP/1.0/spec.html#WWW-Authenticate This code take care of it by adding the WWW-Authenticate value to mistral api-log. Change-Id: I7ae221aaeb2233184bd4818490e72ff662dca5cb Closes-Bug: #1737500 |
||
---|---|---|
.. | ||
__init__.py | ||
keycloak.py | ||
keystone.py |