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

Proxy authentication method should auto create new user #3292

Closed
DavisGoglin opened this issue Jun 6, 2024 · 2 comments
Closed

Proxy authentication method should auto create new user #3292

DavisGoglin opened this issue Jun 6, 2024 · 2 comments
Labels

Comments

@DavisGoglin
Copy link

Is your feature request related to a problem? Please describe.

When using proxy authentication, each user that uses this app needs an account pre-created. That user also needs a password assigned that will never be used.

Describe the solution you'd like

When in proxy authentication mode and a user logs in via a header without an existing account, filebrowser should (optionally?) create that user with a blank/random password and user settings based on the default security settings.

Describe alternatives you've considered

  • Using a static or group based header to login to a generic user in filebrowser. This loses per-user permission options, but if the header can be modified from the auth proxy on a user-group basis then this gets close.
  • API to auto-create users.

Additional context

When enabling the proxy authentication setting and logged in with a user that doesn't exist, there is nothing in the logs to diagnose this besides a 403. Additional logging showing the auth mode and the attempted username would be helpful.

Copy link

github-actions bot commented Jul 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jul 7, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

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