Skip to content

Missing assets on login page #1038

@Masqueey

Description

@Masqueey

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions