jobisoft / TbSync

[Thunderbird Add-On] Central user interface to manage cloud accounts and to synchronize their contact, task and calendar information with Thunderbird
https://github.com/jobisoft/TbSync/wiki/About:-TbSync
Mozilla Public License 2.0
801 stars 54 forks source link

Error de autorización Error 400: invalid_request #703

Closed adaymartin closed 5 months ago

adaymartin commented 8 months ago

Your environment

TbSync version: 4.8 Thunderbird version: 115.6.1 (64-bit)

Expected behavior

...

Actual behavior

Error de autorización Error 400: invalid_request

No puedes iniciar sesión en esta aplicación porque no cumple con la política OAuth 2.0 de Google destinada a mantener seguras las aplicaciones.

Puedes decirle al desarrollador que su aplicación no cumple una o varias reglas de validación de Google. Más información El contenido de esta sección ha sido proporcionado por el desarrollador de la aplicación. Google no ha revisado ni verificado este contenido. Si eres el desarrollador de la aplicación, comprueba que los datos de esta solicitud cumplan las políticas de Google.

response_type: code
redirect_uri: urn:ietf:wg:oauth:2.0:oob
client_id: 527487745750-3c83qhr6g6bkh830fe3acus65dcd124u.apps.googleusercontent.com
access_type: offline
scope: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/contacts openid

...

Steps to reproduce

...

To help resolving your issue, enable debug logging (TbSync Account Manager -> Help) and send me the debug.log via e-mail (use the title of your issue as subject of the email).

Thomas-Tsai commented 8 months ago

Hi, I have the same error message from Google auth

    response_type: code
    redirect_uri: urn:ietf:wg:oauth:2.0:oob
    client_id: 1000595627139-....apps.googleusercontent.com
    access_type: offline
    scope: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/contacts openid

and also enable debugging:

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[TbSync init] : Start (4.8)

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Thunderbird] : 115.6.1 on Linux

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <db>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <addressbook>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <lightning>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <eventlog>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <core>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <passwordManager>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <network>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <tools>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <manager>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <providers>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loading module <messenger>] : OK

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <db>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <addressbook>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <lightning>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <eventlog>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <core>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <passwordManager>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <network>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <tools>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <manager>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <providers>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Initializing module] : <messenger>

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[TbSync init] : Done

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loaded provider] : google::Google's People API (0.6.0)

** Thu Jan 11 2024 09:41:35 GMT+0800 (Taipei Standard Time) **
[Loaded provider] : dav::CalDAV & CardDAV (4.7)

** Thu Jan 11 2024 09:41:46 GMT+0800 (Taipei Standard Time) **
[EventLog] : JavaScriptError
Browser window closed before the authorization code was retrieved.

AuthorizationCodeError@chrome://google-4-tbsync/content/includes/AuthorizationCodeError.js:18:9
getNewAuthorizationCode/promise</authenticationWindow.onclose@chrome://google-4-tbsync/content/includes/PeopleAPI.js:145:28

** Thu Jan 11 2024 09:41:46 GMT+0800 (Taipei Standard Time) **
[EventLog] : JavaScriptError
Browser window closed before the authorization code was retrieved.

AuthorizationCodeError@chrome://google-4-tbsync/content/includes/AuthorizationCodeError.js:18:9
getNewAuthorizationCode/promise</authenticationWindow.onclose@chrome://google-4-tbsync/content/includes/PeopleAPI.js:145:28

** Thu Jan 11 2024 09:41:46 GMT+0800 (Taipei Standard Time) **
[setSyncState] : State: accountdone, Account: thomas......

Do you have any suggestions?

jobisoft commented 5 months ago

Please use the google provider. https://addons.thunderbird.net/de/thunderbird/addon/google-4-tbsync/