Michal Petrov created WFLY-14159:
------------------------------------
Summary: Download log file from Widfly Console forbidden with Keycloak setup
Key: WFLY-14159
URL:
https://issues.redhat.com/browse/WFLY-14159
Project: WildFly
Issue Type: Bug
Components: Management, Web Console
Affects Versions: 17.0.1.Final
Reporter: Michal Petrov
Assignee: Michal Petrov
We have a WildFly instance setup with KeyCloak protecting console/management interface.
In menu 'Runtime > Log files' there is 2 places to download those. In context
menu of the log entry or in toolbar of log entry viewer.
Both options can't download log file because no bearer token is send in request.
Download request is a simple link html tag like this one:
{code:java}
<a data-element="download"
href="https://server.none.com/management/subsystem/logging/log-file/...
class="btn btn-default clickable" data-toggle="tooltip"
data-container="body" data-placement="top"
data-animation="false" title=""
data-original-title="Download" download="server.log"><i
class="fa fa-download"></i></a>{code}
Keycloak steps:
https://docs.jboss.org/author/display/WFLY/Protecting%20Wildfly%20Adminst...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)