Unlike the ping endpoint the web UI is not easily accessible when authenticated #31
Labels
bug
Something isn't working
enhancement
New feature or request
help wanted
Extra attention is needed
When starting a process like this:
DUCKDB_HTTPSERVER_FOREGROUND=1 DUCKDB_HTTPSERVER_DEBUG=1 duckdb -c "install httpserver from community; load httpserver; select httpserve_start('0.0.0.0', 7777, 'duck:duck');"
... it is possible to read from the $base_url/ping endpoint, so easy to check that the service is alive, nice!
But the web UI is not being served up, it reponds with "Unauthenticated" - could it be excluded from authentication since the web ui has specific settings where the base_url, user and pass can be provided anyhow (which might be nice to be able to use also when authenticating against an authenticated instance / itself)?
Also trying a url like "http://user:pass@localhost:7777" wouldn't allow access to the web ui when the httpserver runs as authenticated.
Would be supernice if this worked also when the service runs under another url base (ie something like https://some.server.tld/duckserve/ for example).
The text was updated successfully, but these errors were encountered: