Commit Graph

27 Commits

Author SHA1 Message Date
42aa7ed8d3 feat: add logout endpoint
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 51s
2026-02-13 19:46:44 +07:00
509e3cbc2f 🚑 hotfix: critical fix for signup process
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 29s
2026-02-08 22:19:09 +07:00
68fec64efc 🚨 fix: resolve linting type error 2026-01-31 08:13:04 +07:00
22428c720c 🐛 fix: user client info in oauth flow 2026-01-20 09:39:50 +07:00
5bcdeae663 🔧 chore: change selected data when create user session
These changes include:
1. Changes to the response structure when logging in with a third-party provider, by wrapping the token in `authToken` instead of directly entering it in the return data section.
2. Adding a type to user session creation by taking only the important elements. This is to prevent data leaks because important data is in jwt.
2026-01-09 14:10:56 +07:00
41b6807a36 🧑‍💻 (dev) change register flow
Change the user creation flow in the register so that it must go through the
main create user service first instead of directly accessing the create user
repo.
2025-10-11 02:00:19 +07:00
c1adb767e7 📝 create documentation for user provision and authentication 2025-08-13 11:13:19 +07:00
1ebcc8d21d 👔 set redis cache and jwt encode
Set session data in Redis to reduce load on the main database and increase the speed of JWT token validation.
2025-08-13 10:48:48 +07:00
6bdd5b6468 🚩 create user session when provision
create a user session after provisioning authentication if the account has been created previously.
2025-08-12 23:59:06 +07:00
8532d7e104 🚚 create backup folder
create backup folder for archive the old modules
2025-07-18 23:20:15 +07:00
89c4fb79a7 🚨 fix all linting error 2025-06-25 10:14:01 +07:00
617444591f edit:module:auth:*logout | add single line documentation for logout module 2025-06-19 17:22:05 +07:00
ac82676505 add:module:auth:*logout | add logout module and clean all session in system 2025-06-19 17:16:54 +07:00
ac10ae14f6 fix: fix.env.example 2025-06-14 15:05:20 +07:00
b52f1202eb fix: add prisma to forwarder error instance 2025-05-27 23:37:24 +07:00
90302eab6c fix: implement error forwarder in user session module 2025-05-27 22:51:08 +07:00
85bc85618b add default value in forwarder error 2025-05-27 05:10:27 +07:00
a7c984b316 add forwarder error intance 2025-05-27 02:47:29 +07:00
ee8e8d08db move all db and cache logic from service to repositories 2025-05-25 21:37:55 +07:00
03fd0531af add step in auth verification 2025-05-25 14:10:25 +07:00
c72a06adb4 rewrite jwt set in login service 2025-05-12 21:58:13 +07:00
ed8840ee1f complete login with password controller and services 2025-05-11 19:50:45 +07:00
7adda16a6b fixing in userSession 2025-05-11 11:52:19 +07:00
307c5e2d68 fixing in user and authentication 2025-05-11 01:41:05 +07:00
efe1bb6245 add prisma to create user session service 2025-05-09 00:00:09 +07:00
6f14300347 add create user session service and controller 2025-05-08 23:45:11 +07:00
a2c27b313a add userSession module 2025-05-08 15:21:05 +07:00