ai-dock / base-image

Base image to be extended by all other ai-dock images
Other
18 stars 6 forks source link

API Auth docs #7

Open av opened 4 hours ago

av commented 4 hours ago

Firstly, thank you again for this comprehensive solution!

Secondly, thanks for providing so many auth options, API-only auth was exactly what I needed for one of the projects

https://github.com/ai-dock/base-image/blob/b8bc35fa2f941339d0895e99d98e4f0f22593957/build/COPY_ROOT_0/opt/caddy/share/base_config#L26

And lastly, unfortunately it took quite a bit of time to find that these optionsa are available in the first place, so some wiki reference would really useful

av commented 3 hours ago

Side note, certain services (Open WebUI) do not allow configuring additional auth params for ComfyUI, so the only way to integrate is currently by disabling the auth altogether.

Is it possible to also enable basic HTTP auth support for caddy? I.e.

username:password@domain

I understand that it might not be desirable from the project's point of view, but it'd help in cases like above where ?token can't be used