Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic auth: Context path is not considered for CSS paths #4134

Closed
4 tasks done
ludex15 opened this issue Aug 18, 2023 · 2 comments · Fixed by #4136
Closed
4 tasks done

Basic auth: Context path is not considered for CSS paths #4134

ludex15 opened this issue Aug 18, 2023 · 2 comments · Fixed by #4136
Assignees
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

Comments

@ludex15
Copy link

ludex15 commented Aug 18, 2023

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running master-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe 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

  1. kafkaui v0.7.1.jar and Java jdk-17.0.2

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
kafkaui-bug

not using SERVER_SERVLET_CONTEXT_PATH
kafkaui-notbug

Logs

kafkaui-console

Additional context

No response

@ludex15 ludex15 added status/triage Issues pending maintainers triage type/bug Something isn't working labels Aug 18, 2023
@github-actions
Copy link

Hello there ludex15! 👋

Thank you and congratulations 🎉 for opening your very first issue in this project! 💖

In case you want to claim this issue, please comment down below! We will try to get back to you as soon as we can. 👀

@Haarolean Haarolean added scope/backend status/accepted An issue which has passed triage and has been accepted status/confirmed A bug which actuality is confirmed and removed status/triage Issues pending maintainers triage labels Aug 18, 2023
@Haarolean Haarolean self-assigned this Aug 18, 2023
@Haarolean Haarolean added this to the 0.7.2 milestone Aug 18, 2023
@Haarolean
Copy link
Contributor

Hi, thanks for reporting! Fixed in #4136

@Haarolean Haarolean changed the title Login css issues Basic auth: Context path is not considered for CSS paths Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants