Skip to content

feat: support local development auth - #6

Open
devandrepascoa wants to merge 1 commit into
mainfrom
fix/local-dev-auth
Open

devandrepascoa wants to merge 1 commit into
mainfrom
fix/local-dev-auth

Conversation

@devandrepascoa

Copy link
Copy Markdown
Owner

Summary

  • Add an opt-in LOCAL_DEV_AUTH mode that creates a local developer session when OAuth providers are not configured.
  • Restrict the demo session to localhost/private-network hosts; the flag defaults to off.
  • Keep deployed auth unchanged unless explicitly enabled.

Validation

  • pnpm build
  • pnpm exec tsc --noEmit -p .
  • Verified local /api/session returns the Local Developer session and /auth/signin redirects to balances.

@github-actions

Copy link
Copy Markdown

🚀 Worker preview: https://pr-6-splitpro.andrepascoa.workers.dev

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.

1 participant