Commit Graph
26 Commits
Author SHA1 Message Date
wancat 455fde41ab fix: OAuth flow by setting scope and cookie to 'lax' 2024-04-05 17:56:09 +08:00
wancat c912319967 refactor: userController and add req user type 2024-02-19 23:51:21 +08:00
wancat 5e8df7ae01 refactor: middlewares 2024-02-19 19:08:34 +08:00
wancat 5489de2432 refactor: auth 2024-02-19 18:05:01 +08:00
wancat d6c95cea4a refactor utils 2024-02-19 18:05:00 +08:00
Lin, Hung-Shin 82d1004ecf wip: removing console log 2023-11-20 14:59:14 +08:00
wancat 8430ce4428 feat: add error handling for oauthVerify 2023-11-18 21:46:03 +08:00
wancat 81581c4635 BREAKING: change user social login schema 2023-11-18 16:29:37 +08:00
wancat 45f12acbd9 feat: add UserProfile collection, create on login
* add progress
2023-11-14 10:44:52 +08:00
wancat 203114cd5e feat: add validation for login 2023-11-01 21:35:25 +08:00
Lin, Hung-Shin f18ec35a9f feat: generate secure secret key and prevent default 2023-11-01 14:19:18 +08:00
wancat c8c9a584d0 fix: add social login to exist user 2023-10-14 17:09:50 +08:00
wancat 916b78240c fix: oauthVerify models import 2023-10-14 15:36:03 +08:00
wancat 50bf514805 feat: separate db models from server 2023-10-14 15:34:46 +08:00
wancat 7a9206fb47 refactor: reuse oauthVerify function 2023-10-13 00:51:00 +08:00
wancat 182fcf643f feat: pick username
* put new registered social login user to session data
* ask to choose username
* simplify checkUsername functions
2023-10-13 00:05:59 +08:00
Annie Huang ad5344c98b feat: github auth 2023-10-12 16:12:07 +08:00
Lin, Hung-Shin 33582a4827 fix: add baseUrl in passport oauth 2023-10-11 14:46:07 +08:00
Lin, Hung-Shin 50bed23d37 fix: remove unnecessary console log 2023-10-05 14:22:47 +08:00
Lin, Hung-Shin 72b2711367 feat: make social login optional 2023-10-05 13:32:02 +08:00
Lin, Hung-Shin 1880b30029 feat: use google to login 2023-10-05 11:50:00 +08:00
Lin, Hung-Shin 44b3304046 feat: login to google success 2023-10-04 13:23:16 +08:00
wancat 34c277c886 feat: update frontend to use cookie session
* use SessionMiddleware in socket.io server
* add back jwtStrategy for commands
2023-09-17 12:14:30 +08:00
wancat be5cd152a9 change to use session for auth
+ replace BearerAuth to cookieAuth in swagger
+ add swagger.yaml to nodemon watch list
2023-09-17 11:27:37 +08:00
Lin, Hung-Shin 5dd56308ce feat: add login by username or email 2023-09-14 18:58:09 +08:00
wancat 030dc95e24 refactor: put passport to auth folder 2023-09-11 23:38:29 +08:00