mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-21 22:52:19 +03:00
Integrated into release/v3.8.0 — complete Windsurf/Devin CLI OAuth + API-token executor flows with unit tests.
14 lines
504 B
TypeScript
14 lines
504 B
TypeScript
/**
|
|
* /auth/callback — OAuth callback endpoint for providers that use the
|
|
* `/auth/callback` path (Windsurf, Devin CLI PKCE flow).
|
|
*
|
|
* Reuses the same logic as /callback:
|
|
* - postMessage to opener (popup mode)
|
|
* - BroadcastChannel (same-origin tabs)
|
|
* - localStorage fallback
|
|
*
|
|
* On true localhost the random-port callback server intercepts this path first,
|
|
* so this page is only reached in the LAN / popup-without-callback-server case.
|
|
*/
|
|
export { default } from "@/app/callback/page";
|