Basic auth: Context path is not considered for CSS paths #4134
Labels
area/auth
scope/backend
status/accepted
An issue which has passed triage and has been accepted
status/confirmed
A bug which actuality is confirmed
type/bug
Something isn't working
Milestone
Issue submitter TODO list
master
-labeled docker image and the issue still persists thereDescribe the bug (actual behavior)
The issue is that when using variable SERVER_SERVLET_CONTEXT_PATH=/kafkaui it would not load css properly when logging in.
Login form page is just plain without any design.
Expected behavior
When logging in, it should have been proper design like without SERVER_SERVLET_CONTEXT_PATH=/kafkaui
Your installation details
I am using spring_security_user:
AUTH_TYPE=LOGIN_FORM
SPRING_SECURITY_USER_NAME=admin
SPRING_SECURITY_USER_PASSWORD=******
everything works except login form design when setting variable SERVER_SERVLET_CONTEXT_PATH=/kafkaui
Steps to reproduce
setting variable SERVER_SERVLET_CONTEXT_PATH=/kafkaui is enough to reproduce the issue.
Screenshots
using SERVER_SERVLET_CONTEXT_PATH
not using SERVER_SERVLET_CONTEXT_PATH
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: