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

authfile is not authentication for file uploads #18

Open
d3lac opened this issue Dec 19, 2021 · 1 comment
Open

authfile is not authentication for file uploads #18

d3lac opened this issue Dec 19, 2021 · 1 comment

Comments

@d3lac
Copy link

d3lac commented Dec 19, 2021

Hello,

https://github.com/ZizzyDizzyMC/linx-server#require-api-keys-for-uploads

I have setup auth key using https://github.com/ZizzyDizzyMC/linx-server/tree/master/linx-genkey

I have created an authfile under /home/user/authfile and pasted the above auth key generated. Also added basicauth = true and authfile = /home/slow/authfile inside linx-server.conf

When running docker compose, I get linx-server | 2021/12/19 16:29:38 Failed to open authfile: open /home/user/authfile: no such file or directory I checked permission of the authfile (no issues).

Please provide more instructions on how to setup authentication for uploading files instead of having a public instance.

@dotcomUNDERGROUND
Copy link

I placed the auth file within docker volume for meta (the dir where meta files are located) and added to .conf as authfile = /data/meta/linx-auth.txt

With basicauth = true I do get the browser login prompt.
But without basic auth I can only visit /api part of the site.

How do I access the file upload without basicauth?

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

No branches or pull requests

2 participants