Skip to content

UI return Login has expired when enable Ldap Authorization #666

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
nqvuong1998 opened this issue Apr 10, 2025 · 1 comment
Open

UI return Login has expired when enable Ldap Authorization #666

nqvuong1998 opened this issue Apr 10, 2025 · 1 comment

Comments

@nqvuong1998
Copy link

nqvuong1998 commented Apr 10, 2025

I set up LDAP authentication and used memberOf as the user attribute. Then, I enabled authorization with the following configuration:

authorization:
  admin: (.*)ADMIN(.*)
  user: (.*)USER(.*)
  api: (.*)API(.*)
  ldapConfigPath: /mnt/ldap/ldapConfig.yml

However, the UI returns an error: "Login has expired".

After checking the logs, I noticed that: My user was identified as having all roles in Trino Gateway. But accually, my user account in LDAP does not have any memberOf attribute.

@andythsu
Copy link
Member

Might've been related to #664?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants