Problem with gmail account

Hi. I’m facing this problem when starting Geary on Linux Mint 21.1 Cinnamon

Account identifier: goa_account_1687620897_2
Account provider: GEARY_SERVICE_PROVIDER_OUTLOOK
Service type: GEARY_PROTOCOL_IMAP
Service host: imap-mail.outlook.com
Error type: GoaError 4
Message: GDBus.Error:org.gnome.OnlineAccounts.Error.NotAuthorized: Failed to retrieve credentials from the keyring

Back trace:
 * geary_problem_report_construct
 * geary_account_problem_report_construct
 * geary_service_problem_report_construct
 * application_main_window_update_account_status
 * application_controller_get_certificate_manager
 * g_closure_invoke
 * signal_emit_unlocked_R.isra.0
 * g_signal_emit_valist
 * g_signal_emit
 * g_object_dispatch_properties_changed
 * g_object_notify_by_pspec
 * g_closure_invoke
 * signal_emit_unlocked_R.isra.0
 * g_signal_emit_valist
 * g_signal_emit
 * g_object_dispatch_properties_changed
 * g_object_notify_by_pspec
 * geary_client_service_notify_connection_failed
 * geary_imap_client_service_release_session_async
 * g_task_return_now
 * g_task_return
 * geary_account_notify_service_problem
 * g_task_return_now
 * g_task_return
 * goa_mediator_get_service_label
 * g_task_return_now
 * g_task_return
 * reply_cb
 * g_task_return_now
 * g_task_return
 * g_dbus_connection_call_done
 * g_task_return_now
 * complete_in_idle_cb
 * g_main_context_dispatch
 * g_main_context_iterate.constprop.0
 * g_main_context_iteration
 * g_application_run
 * main
 * __libc_start_call_main
 * __libc_start_main
 * _start

«The GNOME Keyring is a secure storage location for passwords and other sensitive data in GNOME.»
«The keyring file is located in ~/.local/share/keyrings»
«GNOME Online Accounts service is a framework and service in the GNOME desktop environment that provides a way for users to set up and manage online accounts.»

/usr/lib/gnome-online-accounts/goa-daemon --replace

«exposes various interfaces and methods that you can interact with using DBus, you can use the org.gnome.OnlineAccounts bus name.»

I propose to look into the state of this daemon and it’s logs.

Have you tried removing and then re-adding your Google account?

Yes, and I’m stuck in a loop of logging in and and immediate logout. Cinnamon uses it’s own wrapper around gnome-online-accounts, so problem may be in that package because suddenly I’m logged out from all of mine online accounts (Google, NextCloud and Microsoft).