Braito
d3bb30c1d5
Improve OAuth HTTP error details ( #36951 )
...
Keep throwing TokenResponseException on HTTP 4xx/5xx while also capturing the response body (ignore_errors) to include a short snippet for admins.
Co-authored-by: caminotravelcenter <caminotravelcenter@localhost>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr >
2026-01-28 15:56:01 +01:00
Laurent Destailleur
578a1ef568
Clean files
2026-01-07 19:01:54 +01:00
ldestailleur
449109d0ba
FIX use of a google print oauth token restored. No more conflict with
...
other tokens.
2025-07-20 17:15:14 +02:00
ldestailleur
2736a4b382
Merge branch '21.0' of git@github.com:Dolibarr/dolibarr.git into develop
2025-05-05 00:07:09 +02:00
ldestailleur
a74979bc04
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 21.0
2025-05-05 00:04:17 +02:00
ldestailleur
d85cea32c0
Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0
2025-05-05 00:03:49 +02:00
Laurent Destailleur
5bf5d23495
Update AbstractClient.php
2025-05-04 11:22:54 +02:00
Marc de Lima Lucio
02588036c2
FIX: oauth: php 8 warnings ( #34027 )
...
* FIX: oauth: fix php 8 warnings (backport of 9edfb1d113 )
* FIX: oauth: fix php 8 warnings (backport of 9edfb1d113 ), part 2
2025-05-04 11:20:26 +02:00
Frédéric FRANCE
de763b4b43
clean code of order ( #33880 )
...
* clean code of order
* clean code of order
* clean code of order
* clean code of order
2025-04-16 21:09:45 +02:00
Laurent Destailleur
d9a5636b77
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-29 15:55:42 +01:00
Laurent Destailleur
3caead1dc0
Help debug with button "Refresh token"
2024-10-29 13:01:14 +01:00
Laurent Destailleur
a3073a8c5c
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
2024-10-03 00:07:36 +02:00
Laurent Destailleur
b37773cf94
Fix mutitenant MS oauth
2024-10-03 00:05:33 +02:00
Laurent Destailleur
5d16292b35
Log
2024-10-01 21:49:14 +02:00
Laurent Destailleur
815352e8f9
Fix permission on delete token
2024-08-31 19:26:46 +02:00
Laurent Destailleur
0196cf944b
Implement a generic handler for OAUTH token (tested with Mastodon)
2024-08-13 20:25:01 +02:00
Laurent Destailleur
88253bf647
WIP Work on generic OAuth service
2024-08-13 18:36:33 +02:00
Laurent Destailleur
1d30baf36b
Clean code
2024-08-13 17:42:47 +02:00
Laurent Destailleur
8936b6ef8a
Add log into curl method for oauth
2024-08-13 17:04:32 +02:00
Laurent Destailleur
14dfe8a073
Debug refresh action and add log in oauth
2024-08-13 14:59:03 +02:00
Laurent Destailleur
080c1fa41c
More log on oauth refresh
2024-08-13 14:23:49 +02:00
Laurent Destailleur
d062575204
Missing date creation
2024-07-27 19:33:38 +02:00
Laurent Destailleur
306e1225dd
Missing date creation
2024-07-27 19:13:19 +02:00
Laurent Destailleur
ac4ce3d667
Try better fix for #28194
2024-05-25 14:12:53 +02:00
Laurent Destailleur
34c98ce4aa
Fix constant name
2024-03-01 14:07:14 +01:00
Laurent Destailleur
9a55b924e1
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-19 19:28:52 +02:00
Laurent Destailleur
fdea0bb375
Fix phpunit
2023-06-19 19:17:57 +02:00
Laurent Destailleur
cf8813a93c
Fix phpunit
2023-06-19 19:11:36 +02:00
Laurent Destailleur
1c582aeb5f
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-06-19 03:22:40 +02:00
Laurent Destailleur
0bba7e2ed8
FIX OAUth2 module for Google with scopes for people and calendar
2023-06-16 15:00:28 +02:00
Laurent Destailleur
e411807331
FIX OAUth2 module for Google with scopes for people and calendar
2023-06-16 14:31:37 +02:00
Laurent Destailleur
bb0d7c59e6
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-04-12 00:19:17 +02:00
Laurent Destailleur
a1e6fe7f50
Revert "Try fix MS OAuth2 Imap (from feedback at dolibarr.org/forum/t/emailcollectors-with-microsoft-365-oauth2)"
...
This reverts commit 976c2d76f2 .
2023-04-11 10:34:03 +02:00
Laurent Destailleur
ab037cb5e9
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-04-10 17:15:26 +02:00
Laurent Destailleur
976c2d76f2
Try fix MS OAuth2 Imap (from feedback at
...
dolibarr.org/forum/t/emailcollectors-with-microsoft-365-oauth2)
2023-04-09 22:10:56 +02:00
Laurent Destailleur
777b451316
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-03-30 12:37:36 +02:00
Laurent Destailleur
b2722e79dc
Doc
2023-03-29 14:27:28 +02:00
Laurent Destailleur
2a83487c46
Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop
2023-02-09 19:37:33 +01:00
Laurent Destailleur
47128f2ccc
Debug v17
2023-02-08 04:40:13 +01:00
Laurent Destailleur
310fd4e369
Debug IMAP-PHP for MS
2023-02-08 01:28:14 +01:00
Laurent Destailleur
e71ad2e23b
Maxi debug of OAuth module
2023-02-07 20:12:53 +01:00
Laurent Destailleur
66ee541f77
Fix class name collision
2023-01-02 15:18:25 +01:00
Laurent Destailleur
dbc5f5742f
Clean code
2022-12-28 12:05:30 +01:00
Laurent Destailleur
03d086f741
NEW Encrypt all sensitive constants in llx_const
2022-08-24 12:22:11 +02:00
Laurent Destailleur
4c13b08258
Move state into llx_oauth_token
2022-08-22 22:12:13 +02:00
Laurent Destailleur
6ed053e0d0
Clean v16
2022-08-12 12:48:49 +02:00
Laurent Destailleur
a02c0f55fb
Debug v16
2022-07-24 19:58:11 +02:00
Laurent Destailleur
34464ac92b
Maxi debug of OAuth module. Solve tons of problems.
2022-06-27 22:35:58 +02:00
Florian HENRY
e0048c056a
Merge branch 'develop' of github.com:Dolibarr/dolibarr into dev_BDD_19763
2022-01-21 19:01:42 +01:00
Laurent Destailleur
3ae63cb111
Clean code
2022-01-19 22:49:53 +01:00