139 Commits

Author SHA1 Message Date
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
fc7950653d .env: add new variables 2024-05-31 14:43:18 +03:00
vchikalkin
23275a121c Revert "remove .env"
This reverts commit 5002faff08f5cdfb85b77296f94c51b33716e368.
2024-05-31 14:42:32 +03:00
vchikalkin
5002faff08 remove .env 2024-05-31 14:31:03 +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
vchikalkin
43e65ddbbe apps/api: remove token methods from ldap controller 2024-05-14 12:40:02 +03:00
vchikalkin
410a35d451 apps/web: fix submit button color animation 2024-05-07 14:19:15 +03:00
vchikalkin
51eb5ad130 apps/web: fix authContext is undefined 2024-05-07 14:17:55 +03:00
vchikalkin
4fc8d9485e apps/web: beautify telegram submit button 2024-05-07 13:42:55 +03:00
vchikalkin
1690794631 apps/api: add controller ldap-tfa 2024-05-07 12:53:55 +03:00
vchikalkin
69665a4831 apps/api: add type BaseAuthController 2024-05-07 11:53:56 +03:00
vchikalkin
4971605821 pages/telegram: wrap context value into useMemo 2024-05-07 11:21:28 +03:00
vchikalkin
df463924fe add 2fa initial features 2024-05-03 18:08:46 +03:00
vchikalkin
6f8d20e327 apps/web: replace global button style with .button-submit 2024-05-03 16:06:31 +03:00
vchikalkin
a6e52c0e87 apps/web: prepare for telegram login form 2024-05-03 16:02:21 +03:00
vchikalkin
dc9c8660ba apps/web: use react-hook-form 2024-05-03 14:00:05 +03:00
vchikalkin
8a1f6997ea apps/web: remove elements components
define global elements css
2024-05-03 13:38:17 +03:00