Roundcube Community Forum

 

AUTHENTICATE XOAUTH2: A0001 NO AUTHENTICATE failed

Started by hindra1546, November 17, 2023, 06:51:47 AM

Previous topic - Next topic

hindra1546

After the oauth2, i'm unable to connect via the imap using xoauth2 even if i have the right data for it, like access_token

Can someone help me please? :



ERROR_LOG :

[17-Nov-2023 14:47:32 Europe/Moscow] PHP Stack trace:
[17-Nov-2023 14:47:32 Europe/Moscow] PHP   1. {main}() C:\laragon-6.0.0\www\roundcube\index.php:0
[17-Nov-2023 14:47:32 Europe/Moscow] PHP   2. rcmail_action_login_oauth->run($args = *uninitialized*) C:\laragon-6.0.0\www\roundcube\index.php:198
[17-Nov-2023 14:47:32 Europe/Moscow] PHP   3. rcmail_oauth->request_access_token($auth_code = '0.AVwAWppPCnu7Z02p76N3mMJCF07X2jt6czFFmnjV2CY4P0BcALw.AgABAAIAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P9OSSwit37DbuQpUoHNBaAVxCHYJgl5ht-Fw-rOb0Wet-bfm4nt7V6W9DXAL6ogpmm13kxe8XI_YnmwjdpekZbTnCdGH4o98T_OiWBci12HANzxtDYb2iAIDBOxVcD_YY3n2msgZBJ7iuAnGws-NOAOh0cpBDs1NbQqj8T0qnF5cD7sSRlRug_io8hXjD4595NgQ8oAHr9c93SFiwbI4LvJJKJhPQ51R5DJY_iXwbgyHWZ_386_Q0CxBjmm5O8vUHxBimUnmA8cMqYgt7FHQkPfIkczqBbL0FC-tuuCb2ppMRK2JaAzEm0IWq2dZnJEo0v8mUqv4GxxAxEXX8soSVa0ku2MqglHFoFPd60ovo8oh5_BlSsr2DiLU4Ukln01DbmMUdHWzuqQ09bt_YzQsbz9PSSU1Lnhc1'..., $state = 'HDeHbtQbxXrR') C:\laragon-6.0.0\www\roundcube\program\actions\login\oauth.php:39
[17-Nov-2023 14:47:32 Europe/Moscow] PHP   4. error_log($message = ['token_type' => 'Bearer', 'scope' => 'openid profile email https://graph.microsoft.com/IMAP.AccessAsUser.All https://graph.microsoft.com/Mail.Read https://graph.microsoft.com/Mail.Send https://graph.microsoft.com/SMTP.Send https://graph.microsoft.com/User.Read';, 'expires_in' => 3717, 'ext_expires_in' => 3717, 'access_token' => 'eyJ0eXAiOiJKV1QiLCJub25jZSI6Im56NUJ6bWFBX1pxaUxaa2VvdnRqWDF4MF9jRU9Zck1tV0trdEFzNEprQ0kiLCJhbGciOiJSUzI1NiIsIng1dCI6IjlHbW55RlBraGMzaE91UjIybXZTdmduTG83WSIsImtpZCI6IjlHbW55RlBraGMzaE91UjIybXZTdmduTG83WSJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8wYTRmOWE1YS1iYjdiLTRkNjctYTllZi1hMzc3OThjMjQyMTcvIiwiaWF0IjoxNzAwMjIxMzQ2LCJuYmYiOjE3MDAyMjEzNDYsImV4cCI6MTcwMDIyNTM2NCwiYWNjdCI6MCwiYWNyIjoiMSIsImFpbyI6IkFUUUF5LzhWQUFBQVNhUTRoSXpRTnJ6bDVXRndlT1RKVzVLbXZlU2NHcWhUbkt'..., 'id_token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjlHbW55RlBraGMzaE91UjIybXZTdmduTG83WSJ9.eyJhdWQiOiIzYmRhZDc0ZS03MzdhLTQ1MzEtOWE3OC1kNWQ4MjYzODNmNDAiLCJpc3MiOiJodHRwczovL2xvZ2luLm1pY3Jvc29mdG9ubGluZS5jb20vMGE0ZjlhNWEtYmI3Yi00ZDY3LWE5ZWYtYTM3Nzk4YzI0MjE3L3YyLjAiLCJpYXQiOjE3MDAyMjEzNDYsIm5iZiI6MTcwMDIyMTM0NiwiZXhwIjoxNzAwMjI1MjQ2LCJub25jZSI6IjE4MzA5MzU0NyIsInJoIjoiMC5BVndBV3BwUENudTdaMDJwNzZOM21NSkNGMDdYMmp0NmN6RkZtbmpWMkNZNFAwQmNBTHcuIiwic3ViIjoicDJiOWZaUVJOOTN5MndhM3kyQnF3WmFaNEViSVJoeEZRRGtsSlRJYnktNCIsInRpZCI'..., 'identity' => 'conseiller-lamie@lamie-mutuelle.fr']) C:\laragon-6.0.0\www\roundcube\program\include\rcmail_oauth.php:298
[17-Nov-2023 14:47:32 Europe/Moscow] TEST SUCCESS
[17-Nov-2023 14:47:32 Europe/Moscow] Bearer eyJ0eXAiOiJKV1QiLCJub25jZSI6Im56NUJ6bWFBX1pxaUxaa2VvdnRqWDF4MF9jRU9Zck1tV0trdEFzNEprQ0kiLCJhbGciOiJSUzI1NiIsIng1dCI6IjlHbW55RlBraGMzaE91UjIybXZTdmduTG83WSIsImtpZCI6IjlHbW55RlBraGMzaE91UjIybXZTdmduTG83WSJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8wYTRmOWE1YS1iYjdiLTRkNjctYTllZi1hMzc3OThjMjQyMTcvIiwiaWF0IjoxNzAwMjIxMzQ2LCJuYmYiOjE3MDAyMjEzNDYsImV4cCI6MTcwMDIyNTM2NCwiYWNjdCI6MCwiYWNyIjoiMSIsImFpbyI6IkFUUUF5LzhWQUFBQVNhUTRoSXpRTnJ6bDVXRndlT1RKVzVLbXZlU2NHcWhUbktsUU85RmVleFlwQ3NGV2pMNnBXSE1tTkk0bE5IN3oiLCJhbXIiOlsicHdkIl0sImFwcF9kaXNwbGF5bmFtZSI6IlJjT0FVVEgiLCJhcHBpZCI6IjNiZGFkNzRlLTczN2EtNDUzMS05YTc4LWQ1ZDgyNjM4M2Y0MCIsImFwcGlkYWNyIjoiMSIsImlkdHlwIjoidXNlciIsImlwYWRkciI6IjE5Ny4xNTguODMuODkiLCJuYW1lIjoiQ29uc2VpbGxlciBMYW1pZSIsIm9pZCI6IjU0NGM2ZjlmLTQ1NjYtNGZlYy1iMDlhLTQwZjFkM2I5YzBhZiIsInBsYXRmIjoiMyIsInB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-ZkW3nBCqOot3bioe3prN8hIKqjB6wB26IQA6zSxmKbcu0lmV7IWRPezLZb4flPyD5XrQI7HQ4-WRLcEzwDPVXtWt8xzrOQ
[17-Nov-2023 14:47:32 Europe/Moscow] conseiller-lamie@lamie-mutuelle.fr
[17-Nov-2023 14:47:32 Europe/Moscow] ssl://outlook.office.com:993
[17-Nov-2023 14:47:40 +0300]: <lnlq3c78> IMAP Error: Login failed for conseiller-lamie@lamie-mutuelle.fr against outlook.office.com from 127.0.0.1. AUTHENTICATE XOAUTH2: A0001 NO AUTHENTICATE failed. in C:\laragon-6.0.0\www\roundcube\program\lib\Roundcube\rcube_imap.php on line 211 (GET /roundcube/?_task=login&_action=oauth)