[GH-ISSUE #8588] [Bug] Issues signing in with Google #3931

Open
opened 2026-03-23 21:34:14 +00:00 by mirror · 4 comments
Owner

Originally created by @Moondip-Konwar on GitHub (Mar 19, 2026).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8588

Bug Description

The browser window signs in to google just keeps loading something when I press Continue after selecting my Google account. I made sure it was not an internet connection issue by running a few speed tests.

I am on Cosmic DE (Wayland) if that helps.

Here are the logs with the CRITICAL label:

{"msg":"[Flutter]: Server Auth providers: [apple, discord, github, google, email] from https://beta.appflowy.cloud/api/server-info/auth-providers","time":"03-19 12:41:55","target":"dart_ffi"}

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.734: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.734: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.742: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.496: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.496: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.774: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
  2026-03-19 12:41:57 ERROR flowy_user_pub::sql::user_sql: error: code:Record not found, message:Record not found
    at flowy-user-pub/src/sql/user_sql.rs:170

{"msg":"flowy_user_pub::sql::user_sql","time":"03-19 12:41:57","target":"flowy_user_pub::sql::user_sql","error":"code:Record not found, message:Record not found"}
  2026-03-19 12:41:57 ERROR flowy_user::user_manager::manager: error: code:Record not found, message:Record not found
    at flowy-user/src/user_manager/manager.rs:575

{"msg":"flowy_user::user_manager::manager","time":"03-19 12:41:57","target":"flowy_user::user_manager::manager","error":"code:Record not found, message:Record not found"}
{"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"03-19 12:41:58","target":"flowy_user::event_handler"}
{"msg":"[🟢 GENERATE_OAUTH_URL - START]","time":"03-19 12:41:58","target":"flowy_user::user_manager::manager"}
{"msg":"[GENERATE_OAUTH_URL - END]","time":"03-19 12:41:58","target":"flowy_user::user_manager::manager"}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"03-19 12:41:58","target":"flowy_user::event_handler"}

(AppFlowy:14485): Gdk-WARNING **: 12:41:58.487: Server is missing xdg_foreign support

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:59.036: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:41:59.036: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:42:16.863: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

(AppFlowy:14485): Gdk-CRITICAL **: 12:42:17.775: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

And the same gdk_device_get_source error just repeats for quite a while.

I also opened the browser console (in the page that kept loading forever) and found a few CORS errors:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).

Prevented navigation to “https://beta.appflowy.cloud/gotrue/callback?state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NzM5MDU4MDcsInNpdGVfdXJsIjoiYXBwZmxvd3ktZmx1dHRlcjovLyIsImlkIjoiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwiZnVuY3Rpb25faG9va3MiOm51bGwsInByb3ZpZGVyIjoiZ29vZ2xlIiwicmVmZXJyZXIiOiJhcHBmbG93eS1mbHV0dGVyOi8vIiwiZmxvd19zdGF0ZV9pZCI6IiJ9.DJQbci5UJUEUynaOwPEHXocq4UbREmHBmqHaxajCQW0&iss=https%3A%2F%2Faccounts.google.com&code=4%2F0AfrIepC0-9RfUbf1QPZwbEyCazQMGuOsDLc2WH8OCSzIIXMT8Ll8K1mqg5WQRW9b2hNk-g&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=0&prompt=consent” due to an unknown protocol. [id](https://accounts.google.com/signin/oauth/id?authuser=0&part=AJi8hAMIbSobbn6AN5UjqS7-I2mdSmiUPsK4Qnnn3JSVb47c6XZ8KgXGNJgYMxHoI5U8ssuNGNWANWXJSnebJbjoIZHp2aV29EiCr8lgLMGxF-sxNECeyTwAqoMSft0LnM-japoUza_8liTmo4R3RwU2XZiqLiNJzalqbwp-3_ZS7-BiombRt7JgBamZz9bpsm7FdWjUv5AI75Jx4ulKykqHNa1hPfFoeBu2tjX_KHzps5oa6aPzSem_FewGuXhE_cHXCWQQjWmKZMbfHQyusdFxRSBczLBT5izm7ApfQLGWy1e7tNpTwJ3BzsAm29ESy2BPwihWbnsplHWtraSHTEv3sy4Gn-9IFZekqENL6lQZEmh9KKkzUWa0_T_80XEQJpP-nogVfDep6tAul0Kq-YM984DLiMblu5L8i08cMQK1Tcu2Dc4FnLyH-M2GSqzDg4nkC9-ht22f3o_m4wNtflgSGnP46AB_dLxXHzW1tWhKcEksQoBEq5wv-karj6C7C1_aeAUz_9zRuBllvRw0fLmpvHKvaDnAf-9IRy3pOvVGmHNr3rppH6EtEstEqvqWUiq_aqFyYLtWVD_sRXYAP-B2Vx0lkDaBd6IGxp2zR-nj1XAXDsQ03IriElkvjrlxGZSxpLDcWwqee1kd4BDxmTrcQMrdP-Mf9RH9xewPQMTPSTxP5eUuJ3GJSe0zV1KamS5B5lRq_If9C5QuC7SpQL-IPtnoqZzy2N1QpDfOWXdu-oQsf5mb6tCszeIQABhuGe9V5dA0vJTYuV7JSdp3NjveLZ5Dp1lb5NmXmaHTO_gNVl8DApI5UCedtF5_N4VusG5ciEVnfhCd-wyeBBgyEWWdUW7tpnOVnLMApOODk4mxP0WQ8HdPZTA5DaZ7qm4LdgGDXErY3_6HdnqxRQh4GlFSxoy3-t7MFECQXwrokUxNOknKYLJS23-lcBh-J1YPP6whfrGqc7_MtXNbtb0YoZ4n4IFG7fgYQ1LACHj9WQgS9bWrF1JsYG8&flowName=GeneralOAuthFlow&as=S168742600%3A1773905507346728&client_id=994557425188-qf6o61p075ak3vv35d7gqspn6ph5aelp.apps.googleusercontent.com&rapt=AEjHL4NOZMqcf7s4csRpcnUfuPYm97gbwPFJW8YIMVW6C46ycULNe3ryOPdSgmPSCYuNIKlrBio9tnx8Gmtll-8y6Q-HuKgi9ffzJxXl_anIPdhpWqIBiLo#)

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null).

How to Reproduce

  1. Launch the AppImage
  2. Click on Continue With Google
  3. The browser window appears. Select a Google Account
  4. Click on Continue when asked whether I want to share my Name and Email

Then it just hangs.

Expected Behavior

I expected it to log me in.

To be more precise, I expected the browser window to close, the login interface to go away and the actual AppFlowy UI to show up.

Operating System

Linux Mint 22.3 x86_64

AppFlowy Version(s)

0.11.4

Screenshots

No response

Additional Context

No response

Originally created by @Moondip-Konwar on GitHub (Mar 19, 2026). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8588 ### Bug Description The browser window signs in to google just keeps loading something when I press Continue after selecting my Google account. I made sure it was not an internet connection issue by running a few speed tests. I am on Cosmic DE (Wayland) if that helps. Here are the logs with the CRITICAL label: ``` {"msg":"[Flutter]: Server Auth providers: [apple, discord, github, google, email] from https://beta.appflowy.cloud/api/server-info/auth-providers","time":"03-19 12:41:55","target":"dart_ffi"} (AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.734: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.734: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:55.742: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.496: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.496: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:56.774: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed 2026-03-19 12:41:57 ERROR flowy_user_pub::sql::user_sql: error: code:Record not found, message:Record not found at flowy-user-pub/src/sql/user_sql.rs:170 {"msg":"flowy_user_pub::sql::user_sql","time":"03-19 12:41:57","target":"flowy_user_pub::sql::user_sql","error":"code:Record not found, message:Record not found"} 2026-03-19 12:41:57 ERROR flowy_user::user_manager::manager: error: code:Record not found, message:Record not found at flowy-user/src/user_manager/manager.rs:575 {"msg":"flowy_user::user_manager::manager","time":"03-19 12:41:57","target":"flowy_user::user_manager::manager","error":"code:Record not found, message:Record not found"} {"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"03-19 12:41:58","target":"flowy_user::event_handler"} {"msg":"[🟢 GENERATE_OAUTH_URL - START]","time":"03-19 12:41:58","target":"flowy_user::user_manager::manager"} {"msg":"[GENERATE_OAUTH_URL - END]","time":"03-19 12:41:58","target":"flowy_user::user_manager::manager"} {"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"03-19 12:41:58","target":"flowy_user::event_handler"} (AppFlowy:14485): Gdk-WARNING **: 12:41:58.487: Server is missing xdg_foreign support (AppFlowy:14485): Gdk-CRITICAL **: 12:41:59.036: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:41:59.036: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:42:16.863: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed (AppFlowy:14485): Gdk-CRITICAL **: 12:42:17.775: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed ``` And the same `gdk_device_get_source` error just repeats for quite a while. I also opened the browser console (in the page that kept loading forever) and found a few CORS errors: ``` Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null). Prevented navigation to “https://beta.appflowy.cloud/gotrue/callback?state=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NzM5MDU4MDcsInNpdGVfdXJsIjoiYXBwZmxvd3ktZmx1dHRlcjovLyIsImlkIjoiMDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwiZnVuY3Rpb25faG9va3MiOm51bGwsInByb3ZpZGVyIjoiZ29vZ2xlIiwicmVmZXJyZXIiOiJhcHBmbG93eS1mbHV0dGVyOi8vIiwiZmxvd19zdGF0ZV9pZCI6IiJ9.DJQbci5UJUEUynaOwPEHXocq4UbREmHBmqHaxajCQW0&iss=https%3A%2F%2Faccounts.google.com&code=4%2F0AfrIepC0-9RfUbf1QPZwbEyCazQMGuOsDLc2WH8OCSzIIXMT8Ll8K1mqg5WQRW9b2hNk-g&scope=email+profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+openid&authuser=0&prompt=consent” due to an unknown protocol. [id](https://accounts.google.com/signin/oauth/id?authuser=0&part=AJi8hAMIbSobbn6AN5UjqS7-I2mdSmiUPsK4Qnnn3JSVb47c6XZ8KgXGNJgYMxHoI5U8ssuNGNWANWXJSnebJbjoIZHp2aV29EiCr8lgLMGxF-sxNECeyTwAqoMSft0LnM-japoUza_8liTmo4R3RwU2XZiqLiNJzalqbwp-3_ZS7-BiombRt7JgBamZz9bpsm7FdWjUv5AI75Jx4ulKykqHNa1hPfFoeBu2tjX_KHzps5oa6aPzSem_FewGuXhE_cHXCWQQjWmKZMbfHQyusdFxRSBczLBT5izm7ApfQLGWy1e7tNpTwJ3BzsAm29ESy2BPwihWbnsplHWtraSHTEv3sy4Gn-9IFZekqENL6lQZEmh9KKkzUWa0_T_80XEQJpP-nogVfDep6tAul0Kq-YM984DLiMblu5L8i08cMQK1Tcu2Dc4FnLyH-M2GSqzDg4nkC9-ht22f3o_m4wNtflgSGnP46AB_dLxXHzW1tWhKcEksQoBEq5wv-karj6C7C1_aeAUz_9zRuBllvRw0fLmpvHKvaDnAf-9IRy3pOvVGmHNr3rppH6EtEstEqvqWUiq_aqFyYLtWVD_sRXYAP-B2Vx0lkDaBd6IGxp2zR-nj1XAXDsQ03IriElkvjrlxGZSxpLDcWwqee1kd4BDxmTrcQMrdP-Mf9RH9xewPQMTPSTxP5eUuJ3GJSe0zV1KamS5B5lRq_If9C5QuC7SpQL-IPtnoqZzy2N1QpDfOWXdu-oQsf5mb6tCszeIQABhuGe9V5dA0vJTYuV7JSdp3NjveLZ5Dp1lb5NmXmaHTO_gNVl8DApI5UCedtF5_N4VusG5ciEVnfhCd-wyeBBgyEWWdUW7tpnOVnLMApOODk4mxP0WQ8HdPZTA5DaZ7qm4LdgGDXErY3_6HdnqxRQh4GlFSxoy3-t7MFECQXwrokUxNOknKYLJS23-lcBh-J1YPP6whfrGqc7_MtXNbtb0YoZ4n4IFG7fgYQ1LACHj9WQgS9bWrF1JsYG8&flowName=GeneralOAuthFlow&as=S168742600%3A1773905507346728&client_id=994557425188-qf6o61p075ak3vv35d7gqspn6ph5aelp.apps.googleusercontent.com&rapt=AEjHL4NOZMqcf7s4csRpcnUfuPYm97gbwPFJW8YIMVW6C46ycULNe3ryOPdSgmPSCYuNIKlrBio9tnx8Gmtll-8y6Q-HuKgi9ffzJxXl_anIPdhpWqIBiLo#) Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://play.google.com/log?format=json&hasfast=true&authuser=0. (Reason: CORS request did not succeed). Status code: (null). ``` ### How to Reproduce 1. Launch the AppImage 2. Click on Continue With Google 3. The browser window appears. Select a Google Account 4. Click on Continue when asked whether I want to share my Name and Email Then it just hangs. ### Expected Behavior I expected it to log me in. To be more precise, I expected the browser window to close, the login interface to go away and the actual AppFlowy UI to show up. ### Operating System Linux Mint 22.3 x86_64 ### AppFlowy Version(s) 0.11.4 ### Screenshots _No response_ ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Mar 20, 2026):

@Moondip-Konwar What browser are you using? And can you see an "Open AppFlowy" popup after you click on the "Continue" button?

<!-- gh-comment-id:4094960810 --> @LucasXu0 commented on GitHub (Mar 20, 2026): @Moondip-Konwar What browser are you using? And can you see an "Open AppFlowy" popup after you click on the "Continue" button?
Author
Owner

@Moondip-Konwar commented on GitHub (Mar 20, 2026):

I am using Firefox 146.0.1 and after clicking the Continue button (the biggest boldest header in that page says You're signing back in to AppFlowy Cloud), it just keeps loading something forever.

<!-- gh-comment-id:4095774020 --> @Moondip-Konwar commented on GitHub (Mar 20, 2026): I am using Firefox 146.0.1 and after clicking the Continue button (the biggest boldest header in that page says `You're signing back in to AppFlowy Cloud`), it just keeps loading something forever.
Author
Owner

@LucasXu0 commented on GitHub (Mar 20, 2026):

Can you attach a video recording for the process? If you have Chrome installed, it would be better to try signing in using Chrome so we can address this issue more efficiently.

<!-- gh-comment-id:4095844985 --> @LucasXu0 commented on GitHub (Mar 20, 2026): Can you attach a video recording for the process? If you have Chrome installed, it would be better to try signing in using Chrome so we can address this issue more efficiently.
Author
Owner

@Moondip-Konwar commented on GitHub (Mar 20, 2026):

https://github.com/user-attachments/assets/b470afe6-d4a9-42cc-93b2-440a039e6c5c

After that it just keeps loading forever. The max amount of time I waited was around 15 mins or so

<!-- gh-comment-id:4096028514 --> @Moondip-Konwar commented on GitHub (Mar 20, 2026): https://github.com/user-attachments/assets/b470afe6-d4a9-42cc-93b2-440a039e6c5c After that it just keeps loading forever. The max amount of time I waited was around 15 mins or so
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3931
No description provided.