burhan-syed / troddit

A web client for Reddit with authenticated logins and a variety of browsing options
https://www.troddit.com
GNU Affero General Public License v3.0
551 stars 80 forks source link

T+ #172

Closed burhan-syed closed 1 year ago

burhan-syed commented 1 year ago

Protecting Reddit API routes behind troddit login. Preserved option to host without login.

New environment variables. Only necessary for authentication protected instances:

NEXT_PUBLIC_ACCEPT_EMAILS=<true or false, false by default>
NEXT_PUBLIC_FREE_ACCESS=<true or false, true by default>
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<YOUR PUBLIC KEY>
CLERK_SECRET_KEY=<YOUR PRIVATE KEY>
vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
troddit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 30, 2023 2:54am