Skip to content

feat(auth): sign in on gitgochi.vercel.app, session handoff to the custom domain; read cache - #27

Merged
Zee7X merged 1 commit into
mainfrom
feat/auth-on-vercel
Nov 19, 2026
Merged

Zee7X merged 1 commit into
mainfrom
feat/auth-on-vercel

Conversation

@Zee7X

@Zee7X Zee7X commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Chrome flags the OAuth callback on lumelo.my.id as phishing (Safe Browsing marks lumelo.my.id with 'some pages unsafe'). With AUTH_ORIGIN set, sign in runs on gitgochi.vercel.app and hands the session back with a single-use, 60 s, hashed ticket; no cookie on the sign-in host; next.config.ts redirects all other paths on that host to APP_ORIGIN. Inactive until AUTH_ORIGIN is set. Also a 30 s per-instance read cache in pet-store for the Upstash free plan. Tests: handoff flow (ticket works once, no cookie on the sign-in host), cache hit/expiry. 317 unit, 20 E2E.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
gitgochi Ready Ready Preview Nov 19, 2026 8:17am UTC

@Zee7X
Zee7X merged commit d196676 into main Nov 19, 2026
3 checks passed
@Zee7X
Zee7X deleted the feat/auth-on-vercel branch November 19, 2026 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants