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

Using AllowAllBackend auth doesn't work #111

Closed
1 task done
crazfb opened this issue Jul 8, 2024 · 1 comment
Closed
1 task done

Using AllowAllBackend auth doesn't work #111

crazfb opened this issue Jul 8, 2024 · 1 comment
Labels

Comments

@crazfb
Copy link

crazfb commented Jul 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Description

While trying to connect to hue, configured with:

[desktop]
  [[auth]]
    backend=desktop.auth.backend.AllowAllBackend

Logging in with any username throws "Invalid username or password"

image

Steps To Reproduce

  1. Using latest / 4.11.0 tag
  2. Configuring backend=desktop.auth.backend.AllowAllBackend in hue.ini file
  3. Starting with docker compose up
  4. Logging in with any user name

Logs

2024-07-08T17:47:07.217825075Z [08/Jul/2024 10:47:07 -0700] access       WARNING  -anon- - "POST /hue/accounts/login HTTP/1.1" --- Failed login for user: test
2024-07-08T17:47:07.218185342Z [08/Jul/2024 10:47:07 -0700] access       WARNING  -anon- - "POST /hue/accounts/login HTTP/1.1" --- Failed login for user: test
2024-07-08T17:47:07.272081488Z [08/Jul/2024 10:47:07 -0700] access       INFO     -anon- - "POST /hue/accounts/login HTTP/1.1" returned in 65ms 200 115992
2024-07-08T17:47:07.272441389Z [08/Jul/2024 10:47:07 -0700] access       INFO     -anon- - "POST /hue/accounts/login HTTP/1.1" returned in 65ms 200 115992
2024-07-08T17:47:07.305325240Z [08/Jul/2024 10:47:07 -0700] middleware   ERROR    Could not audit the request: [Errno 13] Permission denied: '/var/log/hue/audit.log'
2024-07-08T17:47:07.305721090Z - - [08/Jul/2024:10:47:07 -0700] 'POST /hue/accounts/login HTTP/1.1' 200 115992 'http://localhost:<PORT>/hue/accounts/login'

Hue version

gethue/hue:4.11.0

Copy link

github-actions bot commented Aug 8, 2024

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.

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

No branches or pull requests

1 participant