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

When using ldap login, the login page css missing #4493

Open
4 tasks done
polingsky opened this issue Oct 30, 2024 · 1 comment
Open
4 tasks done

When using ldap login, the login page css missing #4493

polingsky opened this issue Oct 30, 2024 · 1 comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working

Comments

@polingsky
Copy link

polingsky commented Oct 30, 2024

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)

I set the auth config to ldap, but the login page css will want to download from internet
In our environment, I can not access internet, so the login page will broken
But when I set auth config to basic auth, the login page css will normal

My ldap config
export AUTH_TYPE='LDAP'
export SPRING_LDAP_URLS='ldap://x.x.x.x:389'
export SPRING_LDAP_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_FILTER='(uid={0})'

Expected behavior

The ldap login page will same as basic auth login path

Your installation details

  1. kafka-ui-api-v0.7.1.jar

export AUTH_TYPE='LDAP'
export SPRING_LDAP_URLS='ldap://x.x.x.x:389'
export SPRING_LDAP_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_FILTER='(uid={0})'

export SERVER_PORT='8087'
export KAFKA_CLUSTERS_0_PROPERTIES_SECURITY_PROTOCOL='SASL_PLAINTEXT'
export KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS='app-1.org.net:6667,app-2.org.net:6667,app-3.org.net:6667'
export KAFKA_CLUSTERS_0_ZOOKEEPER='app-1.org.net:2182,app-2.org.net:2182,app-3.org.net:2182'
export KAFKA_CLUSTERS_0_PROPERTIES_SASL_KERBEROS_SERVICE_NAME='kafka'
export KAFKA_CLUSTERS_0_PROPERTIES_SASL_JAAS_CONFIG='com.sun.security.auth.module.Krb5LoginModule required serviceName="kafka" useKeyTab=true storeKey=true keyTab="/etc/security/keytabs/kafka.service.keytab" principal="kafka/app-2.org.net@ORG.NET";'
export KAFKA_CLUSTERS_0_METRICS_PORT='9999'

Steps to reproduce

Modify

export AUTH_TYPE="LOGIN_FORM"
export SPRING_SECURITY_USER_NAME="admin"
export SPRING_SECURITY_USER_PASSWORD="admin"

to

export AUTH_TYPE='LDAP'
export SPRING_LDAP_URLS='ldap://x.x.x.x:389'
export SPRING_LDAP_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_BASE='ou=users,ou=app,dc=org,dc=net'
export SPRING_LDAP_USER_FILTER_SEARCH_FILTER='(uid={0})'

Screenshots

kafka-ui-ldap-login

Logs

No response

Additional context

No response

@polingsky polingsky added status/triage Issues pending maintainers triage type/bug Something isn't working labels Oct 30, 2024
Copy link

Hello there polingsky! 👋

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. 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/triage Issues pending maintainers triage type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant