feat(oauth): Enabled manual OAuth callbacks via slash command input
- Introduced OAuthManualInputManager and routed callback-server logins to await pasted redirect URLs with a visible tip. - Extended /login slash command to submit redirect URLs, block overlapping logins, and covered manual callbacks in tests. - Propagated onManualCodeInput through OAuth provider login helpers with a default authorization prompt. - Resolved docs index generation paths using path.resolve relative to the script directory.
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
import { Glob } from "bun";
|
||||
import * as path from "node:path";
|
||||
|
||||
const docsDir = new URL("../../../docs/", import.meta.url).pathname;
|
||||
const outputPath = new URL("../src/internal-urls/docs-index.generated.ts", import.meta.url).pathname;
|
||||
const docsDir = path.resolve(import.meta.dir, "../../../docs");
|
||||
const outputPath = path.resolve(import.meta.dir, "../src/internal-urls/docs-index.generated.ts");
|
||||
|
||||
const glob = new Glob("**/*.md");
|
||||
const entries: string[] = [];
|
||||
|
||||
Reference in New Issue
Block a user