supermemory/apps/web/app/oauth/consent
Prasanna721 e75349d82c fail closed on mcp approve (#1123)
The consent screen now fails the approve action if the MCP scope bind fails, if the OAuth consent response omits a redirect URL, or if approve tries to send the user back into a signed Better Auth interaction URL.

That prevents the UI from showing Access authorized while Claude never receives the callback.

Testing:
- bunx biome check --write apps/web/app/oauth/consent/page.tsx
- bun run --filter @repo/web lint (passes with existing warnings outside this file)
- bunx tsc --noEmit --project apps/web/tsconfig.json (fails on existing unrelated app errors)
2026-06-16 19:42:59 +00:00
..
ConsentCard.tsx feat(web): MCP OAuth consent page (#1118) 2026-06-16 17:33:09 +00:00
page.tsx fail closed on mcp approve (#1123) 2026-06-16 19:42:59 +00:00