forked from vhaudiquet/rhema-together
feat: sign in to Copilot, ChatGPT, and Mistral Vibe
Three provider kinds have a browser sign-in, but the add-provider dialog only accepted a pasted key. A per-account login record now runs the adapter's InteractiveLogin on the server, reports the instruction, URL, and code to the dialog, and stores the credential before the browser sees completion. The credential never reaches the client. The dialog gets a sign-in stage for flow kinds, with a link, a copyable code, and retry after failure. Closing the dialog cancels the flow. ChatGPT's callback lands on the server's loopback port, and the instruction names the port to forward.
This commit is contained in:
1 parent
369075a842
commit
f5087220da
12 files changed
+927
-23
No files matched your search
@@ -102,9 +102,11 @@ issue certificates.
|
||||
|
||||
## First room
|
||||
|
||||
1. **Settings → Providers.** Add a provider kind and key. The key is
|
||||
sealed with the server's master key before it touches SQLite. A new
|
||||
provider stores no model; the room picks one.
|
||||
1. **Settings → Providers.** Add a provider kind and its key, address,
|
||||
or sign-in. For GitHub Copilot, ChatGPT, and Mistral Vibe the dialog
|
||||
runs the provider's sign-in. The credential is sealed with the
|
||||
server's master key before it touches SQLite. A new provider stores
|
||||
no model; the room picks one.
|
||||
2. **Settings → Sandboxes.** Add a target. Leave the private key empty
|
||||
and the server generates an ed25519 pair and shows the public key.
|
||||
Append that line to `~/.ssh/authorized_keys` on the target. Set the
|
||||
|
||||
Reference in new issue
Block a user