]
Michal Petrov reassigned WFLY-14009:
------------------------------------
Assignee: Michal Petrov (was: Harald Pehl)
Download log file from Widfly Console forbidden with Keycloak setup
-------------------------------------------------------------------
Key: WFLY-14009
URL:
https://issues.redhat.com/browse/WFLY-14009
Project: WildFly
Issue Type: Bug
Components: Management, Web Console
Affects Versions: 17.0.1.Final
Reporter: Claudio Weiler
Assignee: Michal Petrov
Priority: Major
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...