Commit Graph

51 Commits

Author SHA1 Message Date
9e84460a22 ♻️ refactor: create Redis helper and replace direct Redis access 2026-02-18 12:17:26 +07:00
9686153a82 🔒 security: add auth token validation via Redis and DB check 2026-02-17 21:51:14 +07:00
3122f34093 🛂 security: fix auth token validation flow 2026-02-17 21:33:59 +07:00
63fcd8587b 🚨 fix: resolve all linting errors
All checks were successful
Integration Tests / integration-tests (pull_request) Successful in 37s
2026-02-15 23:08:07 +07:00
c74597c57d 🐛 fix: access cookie via header on logout
Some checks failed
Integration Tests / integration-tests (pull_request) Failing after 51s
2026-02-15 22:58:24 +07:00
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
08125dcb11 feat: add logout module 2026-02-10 23:12:04 +07:00
68fec64efc 🚨 fix: resolve linting type error 2026-01-31 08:13:04 +07:00
20b371dbf6 feat: create token validation endpoint 2026-01-20 11:27:52 +07:00
c1d5d1692b feat: add new route to get client callback
This new route serves to find the client callback after successfully logging in from the provider page. This is done so that the callback becomes more flexible and can be changed at any time.
2026-01-08 17:22:05 +07:00
5c31ba7340 👔 (necktie) add safeguard for duplicate email case
Create a safeguard so that when a user enters an email address that has already been used with another OAuth provider,
it will be rejected to avoid double entries.
2025-09-13 16:15:01 +07:00
098e0aac56 🐛 (fix) handle user name not found
Handle users who do not have a name by entering the login field as the username field to prevent errors in the GitHub
provision account process.
2025-09-09 17:30:27 +07:00
4c4ae0385b 🧑‍💻 (dev) improve error handler 2025-09-09 00:26:53 +07:00
cd8a0490c4 💡 (docs-code) add code documentation 2025-09-08 22:53:10 +07:00
a2a46ec933 🚩 (flags) complete github signup process 2025-09-07 23:17:00 +07:00
86f8c2a96d 🚧 (wip) try to add callback uri option 2025-09-03 15:34:11 +07:00
bf35af294e 👔 add create account in provision
Add logic to create a new account when provisioning if not yet registered.
2025-08-30 22:41:42 +07:00
8fe4757b56 👔 adding name capitalization to the provider 2025-08-26 10:45:58 +07:00
7e8b5be6cd 👔 create list for oauth providers
create list and endpoint to see avaiable oauth providers.
2025-08-24 10:42:36 +07:00
8abf3d3818 👔 (oauth) add callback URI option for google
Adding a callback option to the Google OAuth provider used to define the OAuth callback URI. If not defined, the
callback URI will use the default value in the .env file.
2025-08-14 23:43:16 +07:00
3df1f342fc 👔 (oauth) add callback URI options
provides the option to define a callback URI following a request from the frontend; if not defined, it will
automatically use the backend's default URI.
2025-08-13 18:51:10 +07:00
c1adb767e7 📝 create documentation for user provision and authentication 2025-08-13 11:13:19 +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
27769773af 🔧 change "exists" parameter to "exist"
Change the parameter “exists” to “exist” in the verbosity of find user.
2025-08-12 18:32:13 +07:00
5d79ffd055 🚩 add provision flow in oauth
Create a flow where if the user logs in with a registered Google account, they are immediately authenticated, but if no
account is found, create a new one.
2025-08-11 22:54:31 +07:00
7ce0e44389 📝 creating inline documentation 2025-08-11 00:15:16 +07:00
ac0b25fb62 🏗️ separate http and internal service
separate between internal and http service due security concern in auth module
2025-08-07 23:07:53 +07:00
0d71710b14 add new oauth provider
add google idconnect as new auth provider
2025-08-06 15:31:24 +07:00
419b5b0ae4 create oauth login
Create authentication with oAuth using a third-party vendor. Currently, only GitHub is available, but more will be added
in the future.
2025-08-05 17:11:36 +07:00
8532d7e104 🚚 create backup folder
create backup folder for archive the old modules
2025-07-18 23:20:15 +07:00
29b76fb91a 🏗️ reconstruct all system in user module 2025-07-16 23:42:13 +07:00
3ef7f1a249 🐛 (user) fix user check password 2025-07-01 00:55:25 +07:00
89c4fb79a7 🚨 fix all linting error 2025-06-25 10:14:01 +07:00
eb7a1c1454 edit:module:user:*update | add refresh jwt token after user doing chances 2025-06-20 08:20:39 +07:00
eac67c1f58 add project structure documentation 2025-06-19 22:13:15 +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
ab84abf366 complete: complete login process 2025-05-27 23:06:37 +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
b8033f4e3d complete middleware 2025-05-13 15:38:58 +07:00
9cb84372b8 finishing auth controller verification 2025-05-13 14:35:48 +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
307c5e2d68 fixing in user and authentication 2025-05-11 01:41:05 +07:00
83f30bd36c add 1 step find user 2025-05-10 01:00:00 +07:00
87cf7fa56c initial auth basic controller 2025-05-09 00:29:30 +07:00