Commit Graph

7 Commits

Author SHA1 Message Date
Zayden-Jung d54aeaa61a load dotenv everywhere it's needed; postgresql pool pre ping 2026-05-20 02:21:22 +08:00
Zayden-Jung c68d88b8c1 feat(auth): integrate Google OAuth2 and secure cookie management
- Configured CORS middleware to allow cross-origin requests from the frontend.
- Implemented Google OAuth2 login flow and post-auth frontend redirection.
- Managed secure HTTP-only cookies for access, refresh, and state tokens.
2026-05-19 23:55:03 +08:00
Zayden-Jung 2b5e193046 auth.py is a duplication of google.py; rename jwt.py -> tokens.py avoid confuse with pyjwt 2026-05-19 23:23:21 +08:00
Zayden-Jung a073fa5962 pyjwt not jwt 2026-05-19 22:56:04 +08:00
Zayden-Jung af5f7b38f8 auth/ is now an independent package 2026-05-19 22:31:30 +08:00
Zayden-Jung ceea04299a modify the project, everything go under app folder 2026-05-16 20:13:46 +08:00
Zayden-Jung 1c513a2f3e login with JWT 2026-05-15 22:58:53 +08:00