Skip to content

Missing assets on login page #1038

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

Open
4 tasks done
Masqueey opened this issue Apr 24, 2025 · 0 comments · May be fixed by #1040
Open
4 tasks done

Missing assets on login page #1038

Masqueey opened this issue Apr 24, 2025 · 0 comments · May be fixed by #1040
Labels
status/triage/completed Automatic triage completed status/triage/manual Manual triage in progress type/bug Something isn't working

Comments

@Masqueey
Copy link

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 main-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)

On the /login page some assets are "missing". These assets require you to be logged in before they show, so instead of showing, they send a 302 to the login page. They only show when you are logged in and manually go to the /login page.

On the /logout page, the favicon used is favicon.ico instead of /favicon/favicon.svg causing it to be missing.

Expected behavior

On the /login page show the serviceImage.png for every login service, even when a user is not logged in. Also allow the used fonts Inter-Regular.ttf and Inter-Medium.ttf to be loaded without being logged in.

On the /logout page, use the correct favicon so that it is shown in the top bar.

Your installation details

  1. 371be00
  2. 1.4.5
  3. Prefer not to share too much, but we use two different oauth authentication clients.
  yamlApplicationConfig:
    auth:
      type: OAUTH2
      oauth2:
        client:
          provider-1:
            provider: provider-1
          provider-2:
            provider: provider-2
  1. ?

Steps to reproduce

Go to your kafka-ui hosted page and get forwarded to the login page, or directly go to kafka-uihostname.com/login. For the /logout issue, go to the /logout page (which is accessible whether logged in or not, but the favicon is missing either way).

Screenshots

Shown behavior on the /login page
Image

Redirects when inspecting the page
Image

Logs

No response

Additional context

I'll take a look today to see if I can provide a PR that fixes this issue.

@Masqueey Masqueey added status/triage Issues pending maintainers triage type/bug Something isn't working labels Apr 24, 2025
@kapybro kapybro bot added status/triage/manual Manual triage in progress status/triage/completed Automatic triage completed and removed status/triage Issues pending maintainers triage labels Apr 24, 2025
Masqueey added a commit to Masqueey/kafka-ui that referenced this issue Apr 24, 2025
@Masqueey Masqueey linked a pull request Apr 24, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage/completed Automatic triage completed status/triage/manual Manual triage in progress type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant