Problème avec les "token"
J'ai eu premier message d'erreur m'indiquant qu'il fallait un jeton 'token'.
Fatal error: Uncaught ErrorException: AADSTS700051: response_type 'token' is not enabled for the application. Trace ID: 1fe92624-e85d-4eb3-91c7-90f3ea442b00 Correlation ID: cf9c8776-b82b-4b3e-be8f-cca0a642e5bb Timestamp: 2023-03-29 10:07:22Z in C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\Adfs.php:102 Stack trace: #0 C:\Users\pif\Programmes\Laragon\www\me\callback.php(10): SteeveDroz\AdfsS2\Adfs->confirmLogin() #1 {main} thrown in C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\Adfs.php on line 102
J'ai activé Jetons d’accès (utilisés pour les flux implicites) et du coup j'obtient ceci
Fatal error: Uncaught ErrorException: AADSTS700051: response_type 'token' is not enabled for the application. Trace ID: de080810-0a35-4c70-b6bf-8102c9913b00 Correlation ID: c6bc1fe5-93f4-4109-a4bf-b707fd5905ce Timestamp: 2023-03-29 10:00:08Z in vendor\steevedroz\adfs-s2\lib\Adfs.php:102 Stack trace: #0 callback.php(10): SteeveDroz\AdfsS2\Adfs->confirmLogin() #1 {main} thrown in vendor\steevedroz\adfs-s2\lib\Adfs.php on line 102
Je le désactive et j'obtiens maintenant ceci
Warning: Undefined array key "id" in C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\User.php on line 43
Fatal error: Uncaught TypeError: Cannot assign null to property SteeveDroz\AdfsS2\User::$id of type string in C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\User.php:43 Stack trace: #0 C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\Adfs.php(200): SteeveDroz\AdfsS2\User->__construct(Array) #1 C:\Users\pif\Programmes\Laragon\www\me\callback.php(12): SteeveDroz\AdfsS2\Adfs->fetchUserData() #2 {main} thrown in C:\Users\pif\Programmes\Laragon\www\me\vendor\steevedroz\adfs-s2\lib\User.php on line 43
Edited by Ferrari Pierre (PDF)