You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
dev:session prints the session cookie but gives no way to actually use it in a browser #100
When you don't have Google OAuth set up, the repo's documented way to get logged in locally is:
bun run --filter=api dev:session
This works fine — it creates a session and prints something like:
crm.session_token=dev-session-dev-646576406c6f63616c68.3mwQoQkF0DaXAiSTI1qkeIgzGkSVfVXsU4v3ODqe9wg%3D
…and then stops. There's no explanation of what to do with that string, so anyone following the README is stuck looking at a wall of text and a /sign-in page. The only way forward is a fiddly manual ritual in DevTools (create a cookie, set name, value, domain, path — get any part wrong and you're back at square one).
For a brand new developer this is the very first thing they hit, and it shouldn't require reading the browser's cookie internals.
Repro:-
cp .env.example .env # fill BETTER_AUTH_SECRET and ALLOWED_SIGN_IN
bun install
bun run --filter=api dev:session # prints a cookie, done
What a good fix looks like
Any of these would solve it:
One-click login — add a flag like dev:session --url that prints a link; visiting it sets the cookie and drops you into the app. (I tested this approach with a throwaway script — it works.)
Print clear next steps — after minting, print exactly what to paste where, or a bookmarklet to click.
Keep the safety guard — however we do it, the existing "refuses to run in production" check at apps/api/scripts/dev-session.ts:7 must stay.
Activity
ripgrim commentedon Oct 22, 2026
PR #249 adds the one-click browser flow.
The command now prints a temporary local link. The link sets the signed cookie and redirects into the app.
The same change enrols the developer in the workspace and sets the active workspace.
Local verification passed types, lint, anti-slop, all tests, and a real redirect.
The repository audit currently blocks CI because main contains seven dependency advisories.