Skip to content

Add configurable SQLNB browser sign-in - #18

Open
nicosuave wants to merge 2 commits into
mainfrom
sqlnb-browser-sign-in
Open

nicosuave wants to merge 2 commits into
mainfrom
sqlnb-browser-sign-in

Conversation

@nicosuave

Copy link
Copy Markdown
Member

Add optional browser sign-in to the SQLNB extension. An HTTPS deployment can configure a built-in access key, an authenticated reverse-proxy identity, or both. The ordinary notebook URL can establish a browser session, existing launch links continue to work, and a remembered access-key session renews the current execution capability after DuckDB restarts.

The session API checks the browser origin, limits credential request size, and accepts proxy identity only when an exact header and value are explicitly configured. The browser UI follows deployment configuration.

Validation

  • Passed 111 Rust tests, including origin checks, proxy identity rejection, access-key verification, and session renewal.
  • Built the Apple Silicon extension and verified signed loading under DuckDB 2.0.0.
  • Verified against the paired browser build in Chrome over HTTPS.

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

Successfully merging this pull request may close these issues.

1 participant