Commit Graph

49 Commits

Author SHA1 Message Date
dab246 713c924c67 TF-2311 Set timeout when get session
Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 3e2c22c65101ee08e0e48ef0e4a737e510b387fb)
2023-11-21 16:54:33 +07:00
dab246 ad5dff4ac8 TF-2280 Fix mark as read mailbox when token expired on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit caab5a896875168f2d98c249207eb3eb537c58ec)
2023-10-31 19:48:03 +07:00
dab246 59dfef3928 TF-2245 Fix upload attachment when token expired on mobile
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit f866a3830310767eb20d622a20b2c14a9c286471)
2023-10-27 11:18:29 +07:00
dab246 14047c9ccc TF-2245 Fix upload attachment when token expired on web
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 0b2ab3c6ff4213bccc064822e640cc40592a39e8)
2023-10-27 11:18:29 +07:00
dab246 424ab675d5 TF-2177 Fix download attachment not working on web
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 09cbfe5245c206670aa2191c151fd8f2ea48df3a)
2023-10-27 11:18:29 +07:00
dab246 604698d4e4 Handle call retry up to 3 time when statusCode=401
(cherry picked from commit 09a93eff116a1dffc6a59ab97226a86cba47998e)
2023-09-14 16:58:31 +07:00
dab246 566575fcb9 Make the beautify logging tool
(cherry picked from commit 3322703de81c2c53f45b25743071769f8bdabb55)
2023-09-14 16:58:31 +07:00
dab246 1c111270a7 TF-1974 Set default OIDC_SCOPE
(cherry picked from commit 5d497b2053b68a4352664594668547d50ee85319)
2023-08-23 11:28:21 +07:00
dab246 f5d5791fdf TF-1974 Fix refresh token oidc failed
(cherry picked from commit 0bed553bfad291d4a6501f9ac935cfe701703b06)
2023-08-23 11:28:21 +07:00
Dat PHAM HOANG c16613eb69 If no refreshToken return, maybe the old refreshToken still available
(cherry picked from commit ad0806651d671b350a1dda952e399c9557c2c4d7)
2023-07-31 19:24:25 +07:00
dab246 97d9f8fc80 Add condition when token expired
(cherry picked from commit 1664c16a1680b60c4fa98f729cebc0e786da0935)
2023-07-19 10:23:07 +07:00
dab246 052b4ae5c5 TF-1974 Check refreshToken is not empty when calling appAuth.token()
(cherry picked from commit 4d06516a91d0c8c9ecf66275abe5f825309c4bba)
2023-07-07 22:45:26 +07:00
dab246 bc8a03cbce [HOT-FIX] Webfinger is recalled many times
(cherry picked from commit 1873e0f199c29965543a7504f30308e0024c725c)
2023-07-07 22:45:26 +07:00
dab246 8be3eb53e9 TF-1963 Sync handle exception at data and domain layer
(cherry picked from commit 591388e01fc4fc4c357bdb40a44dac0377dc9fe5)
2023-07-07 22:45:26 +07:00
dab246 96145aae7a Sync all use PlatformInfo to check platform while runtime
(cherry picked from commit 514fec1f2f4f1ff8a584bf8db7bf3a5537a3e9f8)
2023-06-15 16:43:58 +07:00
Dat PHAM HOANG b10cc840ce Support configuration for OIDC scopes
(cherry picked from commit 8dc7d6d025deaf0e36729dbcade3fd9bcaf91b8c)
2023-06-15 16:43:58 +07:00
dab246 876cc368b0 Use TupleKey(ObjectKey-AccountId-UserName) to store data to hive
(cherry picked from commit e0ace535d5f3af71eb13598d92524caf2c6d9bbf)
2023-05-08 13:03:51 +07:00
Dat PHAM HOANG c45118021e [SLO] Implement for discoverOIDC method
(cherry picked from commit 76ee41a238ad3e626148f3a236f20c6cd370df3a)
2023-04-14 17:12:34 +07:00
Dat PHAM HOANG c3a17dbf37 [SLO] Add discoverOIDC method
(cherry picked from commit c99efecb34c56bb40a584923a0861e15fb111986)
2023-04-14 17:12:34 +07:00
dab246 6566372337 TF-1317 Update authentication account to store AccountId 2023-01-12 16:15:00 +07:00
ManhNTX 83bf289550 TF-501 [iOS] add Mail app to be Default mail 2022-08-31 10:54:25 +07:00
ManhNTX 36bec1c9d5 TF-867 [Android] Share image with TeamMail app but image is not add to inline image 2022-08-31 10:54:25 +07:00
dab246 ba4663257d TF-644 Remove 401 error when refreshToken 2022-06-15 11:18:49 +07:00
dab246 d463dbed47 TF-624 Move OidcConfigurationExtension from data layer to domain layer 2022-06-09 21:20:26 +07:00
dab246 831f34f137 TF-624 Setup DOMAIN_REDIRECT_URL/WEB_OIDC_CLIENT_ID in env file 2022-06-09 21:20:26 +07:00
dab246 a30dd68b1b TF-624 Remove null-aware of instance WidgetsBinding/SchedulerBinding on flutter 3.0 2022-06-09 21:20:26 +07:00
dab246 34d69fbd19 TF-624 Implement refresh token oidc on browser 2022-06-09 21:20:26 +07:00
dab246 9c9e12dedc TF-624 Implement logout oidc on browser 2022-06-09 21:20:26 +07:00
dab246 261b6a5870 TF-624 Implement get token oidc on browser 2022-06-09 21:20:26 +07:00
dab246 abc7e3da9d TF-624 Implement get authentication info 2022-06-09 21:20:26 +07:00
dab246 5c66d3016f TF-624 Implement authentication oidc on browser 2022-06-09 21:20:26 +07:00
dab246 61bea0b667 TF-624 Use AuthenticationClient to Get/Refresh token and logout oidc 2022-06-09 21:20:26 +07:00
dab246 c9f89958f3 TF-624 Add AuthenticationClient for mobile/web platform to authenticate oidc 2022-06-09 21:20:26 +07:00
dab246 9092e30b96 TF-624 Set clientId for oidc on browser 2022-06-09 21:20:26 +07:00
dab246 28fbe511af TF-624 Remove endpoint oidc unnecessary 2022-06-09 21:20:26 +07:00
dab246 f00d3c7569 TF-624 Remove baseUri param not use in GetOIDCConfigurationInteractor 2022-06-09 21:20:26 +07:00
dab246 ced3fecd1f TF-607 Implement logoutOidc action when user click signOut 2022-06-06 12:00:53 +07:00
dab246 ba49d7699a TF-605 Use bearer token download attachment on Android 2022-06-06 10:45:13 +07:00
dab246 693f4dbc15 TF-606 Implement refresh token when access token expired 2022-06-04 08:39:50 +07:00
dab246 02a5fa4b4f TF-606 Implement store/get authority oidc 2022-06-04 08:39:50 +07:00
Dat PHAM HOANG a48cd35d4f TF-571 Use response from webfinger to get OIDC from authority 2022-06-01 14:31:58 +07:00
dab246 ea598c20b8 TF-571 Update token for interceptors dio 2022-06-01 14:31:58 +07:00
dab246 4804a1659a TF-571 Get token from authentication sso 2022-06-01 14:31:58 +07:00
dab246 ffb5cadc16 TF-571 Setup and get OIDC configuration 2022-06-01 14:31:58 +07:00
dab246 239234f836 TF-571 Check OIDC is available 2022-06-01 14:31:58 +07:00
Dat PHAM HOANG afe6095c7e Remove LoginAPI, because it does not belongs to JMAP server 2021-09-17 11:24:04 +07:00
dab246 0cd7552ad2 TF-48 Implement compose and send email with simple text 2021-09-08 15:19:56 +07:00
dab246 cae1252fc8 TF-34 Add data layer login for fix bug mock data user 2021-08-26 18:02:58 +07:00
dab246 2fca01a405 Init login feature add data layer 2021-07-29 11:42:41 +07:00