diff options
| author | Dax Raad <[email protected]> | 2025-08-20 16:52:43 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-20 17:01:18 -0400 |
| commit | 522bed6b7dabd09328b3c8aae90b06ab06344623 (patch) | |
| tree | 905dca3e2b3fb4e765d03f2ec78e285f19a31155 /cloud/app/src/routes/auth/callback.ts | |
| parent | dda672284c69ad399029316a63677cf49cbc54f3 (diff) | |
| download | opencode-522bed6b7dabd09328b3c8aae90b06ab06344623.tar.gz opencode-522bed6b7dabd09328b3c8aae90b06ab06344623.zip | |
ignore: cloud stuff
Diffstat (limited to 'cloud/app/src/routes/auth/callback.ts')
| -rw-r--r-- | cloud/app/src/routes/auth/callback.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cloud/app/src/routes/auth/callback.ts b/cloud/app/src/routes/auth/callback.ts index a561c70d0..22dcb2b6d 100644 --- a/cloud/app/src/routes/auth/callback.ts +++ b/cloud/app/src/routes/auth/callback.ts @@ -5,11 +5,6 @@ export async function GET(input: APIEvent) { const url = new URL(input.request.url) const code = url.searchParams.get("code") if (!code) throw new Error("No code found") - const redirectURI = `${url.origin}${url.pathname}` - console.log({ - redirectURI, - code, - }) const result = await AuthClient.exchange(code, `${url.origin}${url.pathname}`) if (result.err) { throw new Error(result.err.message) |
