Spaces:
Running
Running
now i want to add proper authentication where user can login only with their google account and Users should be able to sign up, log in, and log out securely Once logged in, users should automatically be taken to the chat interface. Each user should have their own chat history β so when they log in again later, they can see their previous conversations in the sidebar
590d81d
verified
| ```env | |
| # Google OAuth | |
| GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com | |
| GOOGLE_CLIENT_SECRET=your_google_client_secret | |
| GOOGLE_REDIRECT_URI=http://localhost:3000/auth/google/callback | |
| # Session | |
| SESSION_SECRET=your_session_secret_here | |
| # OpenRouter | |
| OPENROUTER_API_KEY=your_openrouter_api_key | |
| # Server | |
| PORT=3000 | |
| NODE_ENV=development | |
| ``` |