chdb-io / chdb-server-bak

API Server for chDB, an in-process SQL OLAP Engine powered by ClickHouse
https://chdb.io
Apache License 2.0
21 stars 4 forks source link

Session Support via Basic Auth #5

Closed lmangani closed 11 months ago

lmangani commented 11 months ago

This PR adds chdb stateful session support when Basic HTTP Auth is provided. The auth is not actually checked, but simply converted to a hash used as a temporary storage path. The path for storage can be controlled through the DATA env variable and defaults to `.chdb_data'

image