130 Commits

Author SHA1 Message Date
vchikalkin
b8841e52b7 api: add /check-auth method for account mode 2024-07-14 16:23:37 +03:00
vchikalkin
8d2d3a12a9 Login: dynamic import Form components 2024-07-14 16:10:00 +03:00
vchikalkin
e5b34e13d6 ldap-tfa: export * from pages/ldap 2024-07-14 16:04:22 +03:00
vchikalkin
60519a171a web: split components into hooks & files 2024-07-14 15:26:32 +03:00
vchikalkin
099fe2646e ButtonLoading: change text 2024-07-14 14:23:57 +03:00
vchikalkin
5048d7e8d7 web: fix ButtonTelegram content layout 2024-07-13 23:52:33 +03:00
vchikalkin
0ffaaf877f fix build [3] 2024-07-13 23:15:00 +03:00
vchikalkin
fb4d5a779f fix build [2] 2024-07-13 23:07:12 +03:00
vchikalkin
a7c4510abb fix build 2024-07-13 22:58:37 +03:00
vchikalkin
fac77fec50 fix build: specify turbo version 2024-07-13 22:13:19 +03:00
vchikalkin
20c0391e81 web: auto refresh token
reuse buttons in default & telegram forms
2024-07-13 21:45:37 +03:00
vchikalkin
a6be242628 web: move utils/router -> components/Form/utils 2024-07-13 19:42:10 +03:00
vchikalkin
8ee2d97599 fix Form/types extension 2024-07-13 19:40:37 +03:00
vchikalkin
0f44c37673 web: move Login to /Login directory 2024-07-13 19:40:12 +03:00
vchikalkin
58fbfad17a web: split Form into files 2024-07-13 19:34:46 +03:00
vchikalkin
2719f4bb2d api: fix ldap check-auth (detect user and refresh token) 2024-07-13 18:54:31 +03:00
vchikalkin
8bc046369f [2] fix build 2024-06-07 12:56:09 +03:00
vchikalkin
8851f42ff4 fix build 2024-06-07 12:49:34 +03:00
vchikalkin
31b238b8d5 apps/web: pass env variables
remove .env file
2024-06-07 12:37:16 +03:00
vchikalkin
87edaa6025 gateway: fix redirect after /logout for account 2024-06-07 12:09:06 +03:00
vchikalkin
138b51d824 gateway: fix redirect after /logout 2024-06-07 11:45:10 +03:00
vchikalkin
745151df39 apps/web: export PageHead from pages/ldap 2024-06-06 22:18:53 +03:00
vchikalkin
5a7a412976 fix: rename apps/web pages 2024-06-06 22:17:38 +03:00
vchikalkin
5b04addf26 rename pages/telegram -> pages/ldap-tfa 2024-06-06 21:48:47 +03:00
vchikalkin
e51c59274c apps/web: use displayName or username 2024-06-06 21:46:04 +03:00
vchikalkin
dc9e0852ac feature: continue as @user 2024-06-06 21:15:56 +03:00
vchikalkin
eff2103c3e apps/api: add /refresh-token methods
remove refresh-token logic from app controller
2024-06-06 16:24:53 +03:00
vchikalkin
63b35af1d7 [2] apps/web: fix telegram icon margin 2024-06-06 12:56:42 +03:00
vchikalkin
708dbe42f8 apps/web: fix telegram icon margin 2024-06-06 12:45:31 +03:00
vchikalkin
dadb6f2040 apps/web: add error text overflow 2024-06-06 12:37:48 +03:00
vchikalkin
1ea939f41f pass error from telegram server to client 2024-06-06 12:36:07 +03:00
vchikalkin
6de1e1823f apps/api: pass creds for TELEGRAM_URL_SEND_AUTH_MESSAGE 2024-06-05 15:24:30 +03:00
vchikalkin
399179baa2 [1] apps/api: fix refresh token 2024-06-05 12:34:28 +03:00
vchikalkin
2e5f9fd001 complete 2024-06-04 18:45:22 +03:00
vchikalkin
d2c41fb983 apps/api: use global CacheModule 2024-06-04 14:33:04 +03:00
vchikalkin
14327d262e packages: add socket.io 2024-06-04 14:32:14 +03:00
vchikalkin
718ebf525d docker-compose.yml: add envTELEGRAM_URL_SEND_AUTH_MESSAGE 2024-05-31 14:22:02 +03:00
vchikalkin
ab1e8d44c9 ldap-tfa: add method /telegram-reject 2024-05-31 14:14:35 +03:00
vchikalkin
1a0cfec09f ldap-tfa: add method GET /telegram-confirm 2024-05-29 13:56:02 +03:00
vchikalkin
8cad617acb apps/web: fix disable inputs after login step 2024-05-28 16:03:19 +03:00
vchikalkin
6ab9d44430 ldap: add employeeID
apps/api: add /telegram-confirm method
apps/web: show bot link info
2024-05-28 15:55:37 +03:00
vchikalkin
7a913a23f0 apps/web: fix Form onSubmit 2024-05-28 12:09:38 +03:00
vchikalkin
001c83e902 apps/web: refactor Form component 2024-05-28 11:39:46 +03:00
vchikalkin
e4357070af apps/web: add FormStateContext
apps/api: add methods ldap-tfa/login-telegram
2024-05-27 12:02:05 +03:00
vchikalkin
237aeb970f fix pass user to submit button 2024-05-14 16:16:34 +03:00
vchikalkin
becce3218d apps/api: move jwt types to src/types 2024-05-14 16:12:22 +03:00
vchikalkin
20b1aeda5c apps/api: fix verify token 2024-05-14 15:54:23 +03:00
vchikalkin
83975b0520 apps/api: add create token with audience in ldap-tfa controller
support token with audience in app controller
2024-05-14 15:38:32 +03:00
vchikalkin
092d2c98a1 apps/api: add AuthParams decorator & isTokenExpired function 2024-05-14 14:01:59 +03:00
vchikalkin
cc9ab04112 apps/api: create AuthToken decorator 2024-05-14 12:49:19 +03:00