Notes
Credential caching
Auth tokens are cached for 4 minutes per connection parameters to avoid repeated browser prompts within the same process.
Callback port
The local auth callback server defaults to port 8888 at path /lakebase. Override with auth_callback_port and auth_callback_path:
client = LakebaseClient().connect(
host="<cluster-host>",
port=5432,
dbname="mydb",
browser_auth="true",
auth_callback_port=9000,
auth_callback_path="/my-callback",
)