FIX OAuth generation of token for Microsoft, Stripe and Generic

This commit is contained in:
Laurent Destailleur
2024-10-01 21:53:45 +02:00
parent 075d0dee3c
commit 83cf2c8c57
10 changed files with 271 additions and 261 deletions

View File

@@ -118,7 +118,7 @@ if (GETPOST('code')) { // We are coming from oauth provider page
// We should have
//$_GET=array('code' => string 'aaaaaaaaaaaaaa' (length=20), 'state' => string 'user,public_repo' (length=16))
dol_syslog("We are coming from the oauth provider page code=".dol_trunc(GETPOST('code'), 5));
dol_syslog(basename(__FILE__)." We are coming from the oauth provider page code=".dol_trunc(GETPOST('code'), 5));
// This was a callback request from service, get the token
try {