[GH-ISSUE #8473] [Bug] Unable to login via google #3868

Closed
opened 2026-03-23 21:33:45 +00:00 by mirror · 7 comments
Owner

Originally created by @AryanAtif on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8473

Bug Description

When trying to login into the flatpak version of Appflowy on Arch linux via my google account, the app returns the error "Something went wrong. Please again later".

Following are the Console logs:

{"msg":"[Flutter]: AppLauncher: tasks initialized in 119 ms","time":"02-05 11:03:00","target":"dart_ffi"}
{"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"02-05 11:03:03","target":"flowy_user::event_handler"}
{"msg":"[🟢 GENERATE_OAUTH_URL - START]","time":"02-05 11:03:03","target":"flowy_user::user_manager::manager"}
{"msg":"[GENERATE_OAUTH_URL - END]","time":"02-05 11:03:03","target":"flowy_user::user_manager::manager"}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"02-05 11:03:03","target":"flowy_user::event_handler"}

(AppFlowy:2): Gdk-WARNING **: 11:03:03.613: Server is missing xdg_foreign support
  2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)
    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)","time":"02-05 11:03:03","target":"dart_ffi"}
  2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: SignInState _stateFromCode: Unable to get the deep link
    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: SignInState _stateFromCode: Unable to get the deep link","time":"02-05 11:03:03","target":"dart_ffi"}
  2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: Sign in error: msg: Something went wrong. Please try again later

    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: Sign in error: msg: Something went wrong. Please try again later\n","time":"02-05 11:03:03","target":"dart_ffi"}

(AppFlowy:2): Gdk-CRITICAL **: 11:03:07.380: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed

How to Reproduce

Just hit the "Continue with Google" button at the startup and you'll get this error.

Expected Behavior

Ideally it should've opened a browser tab where i'd log in with my google account

Operating System

Arch Linux

AppFlowy Version(s)

Appflowy 0.11.1 (that what's mentioned at the flathub)

Screenshots

Image Image

Additional Context

No response

Originally created by @AryanAtif on GitHub (Feb 5, 2026). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8473 ### Bug Description When trying to login into the flatpak version of Appflowy on Arch linux via my google account, the app returns the error "Something went wrong. Please again later". Following are the Console logs: ``` {"msg":"[Flutter]: AppLauncher: tasks initialized in 119 ms","time":"02-05 11:03:00","target":"dart_ffi"} {"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"02-05 11:03:03","target":"flowy_user::event_handler"} {"msg":"[🟢 GENERATE_OAUTH_URL - START]","time":"02-05 11:03:03","target":"flowy_user::user_manager::manager"} {"msg":"[GENERATE_OAUTH_URL - END]","time":"02-05 11:03:03","target":"flowy_user::user_manager::manager"} {"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"02-05 11:03:03","target":"flowy_user::event_handler"} (AppFlowy:2): Gdk-WARNING **: 11:03:03.613: Server is missing xdg_foreign support 2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null) at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)","time":"02-05 11:03:03","target":"dart_ffi"} 2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: SignInState _stateFromCode: Unable to get the deep link at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: SignInState _stateFromCode: Unable to get the deep link","time":"02-05 11:03:03","target":"dart_ffi"} 2026-02-05 11:03:03 ERROR dart_ffi: [Flutter]: Sign in error: msg: Something went wrong. Please try again later at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: Sign in error: msg: Something went wrong. Please try again later\n","time":"02-05 11:03:03","target":"dart_ffi"} (AppFlowy:2): Gdk-CRITICAL **: 11:03:07.380: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed ``` ### How to Reproduce Just hit the "Continue with Google" button at the startup and you'll get this error. ### Expected Behavior Ideally it should've opened a browser tab where i'd log in with my google account ### Operating System Arch Linux ### AppFlowy Version(s) Appflowy 0.11.1 (that what's mentioned at the flathub) ### Screenshots <img width="1257" height="576" alt="Image" src="https://github.com/user-attachments/assets/97dfbf7e-deb1-4e49-8ce8-ca56d63fd3c5" /> <img width="396" height="587" alt="Image" src="https://github.com/user-attachments/assets/135aea18-232a-4ec5-9170-350145eb6e7a" /> ### Additional Context _No response_
Author
Owner

@LucasXu0 commented on GitHub (Feb 6, 2026):

@AryanAtif please install the xdg-desktop-portal and try again.

<!-- gh-comment-id:3857539053 --> @LucasXu0 commented on GitHub (Feb 6, 2026): @AryanAtif please install the xdg-desktop-portal and try again.
Author
Owner

@AryanAtif commented on GitHub (Feb 6, 2026):

@AryanAtif please install the xdg-desktop-portal and try again.

ok i reinstalled both xdg-desktop-portal and xdg-desktop-portal-hyprland (since im on the hyprland WM), but the issue still persists

<!-- gh-comment-id:3858027641 --> @AryanAtif commented on GitHub (Feb 6, 2026): > [@AryanAtif](https://github.com/AryanAtif) please install the xdg-desktop-portal and try again. ok i reinstalled both xdg-desktop-portal and xdg-desktop-portal-hyprland (since im on the hyprland WM), but the issue still persists
Author
Owner

@LucasXu0 commented on GitHub (Feb 6, 2026):

Are there any errors shown in your terminal after you install the xdg-desktop-portal?

<!-- gh-comment-id:3858450661 --> @LucasXu0 commented on GitHub (Feb 6, 2026): Are there any errors shown in your terminal after you install the xdg-desktop-portal?
Author
Owner

@AryanAtif commented on GitHub (Feb 6, 2026):

yep. im getting these errors. but i think these are the same errors that i got before.

(AppFlowy:2): Gdk-WARNING **: 17:33:37.705: Server is missing xdg_foreign support
  2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)
    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)","time":"02-06 17:33:37","target":"dart_ffi"}
  2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: SignInState _stateFromCode: Unable to get the deep link
    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: SignInState _stateFromCode: Unable to get the deep link","time":"02-06 17:33:37","target":"dart_ffi"}
  2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: Sign in error: msg: Something went wrong. Please try again later

    at dart-ffi/src/lib.rs:357

{"msg":"[Flutter]: Sign in error: msg: Something went wrong. Please try again later\n","time":"02-06 17:33:37","target":"dart_ffi"}

(AppFlowy:2): Gdk-CRITICAL **: 17:33:40.185: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed
<!-- gh-comment-id:3860193587 --> @AryanAtif commented on GitHub (Feb 6, 2026): yep. im getting these errors. but i think these are the same errors that i got before. ``` (AppFlowy:2): Gdk-WARNING **: 17:33:37.705: Server is missing xdg_foreign support 2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null) at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: Failed to open uri: PlatformException(Launch Error, Failed to launch URL: Failed to call OpenURI portal: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop, null, null)","time":"02-06 17:33:37","target":"dart_ffi"} 2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: SignInState _stateFromCode: Unable to get the deep link at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: SignInState _stateFromCode: Unable to get the deep link","time":"02-06 17:33:37","target":"dart_ffi"} 2026-02-06 17:33:37 ERROR dart_ffi: [Flutter]: Sign in error: msg: Something went wrong. Please try again later at dart-ffi/src/lib.rs:357 {"msg":"[Flutter]: Sign in error: msg: Something went wrong. Please try again later\n","time":"02-06 17:33:37","target":"dart_ffi"} (AppFlowy:2): Gdk-CRITICAL **: 17:33:40.185: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed ```
Author
Owner

@richardshiue commented on GitHub (Feb 9, 2026):

Hi does this happen with other flatpak apps on your systems that need to open a link? I found this reddit thread which may provide some information, but I'm not sure if it's helpful https://www.reddit.com/r/linuxquestions/comments/1ozkx7i/dbus_error_with_flatpak_apps/

<!-- gh-comment-id:3869187402 --> @richardshiue commented on GitHub (Feb 9, 2026): Hi does this happen with other flatpak apps on your systems that need to open a link? I found this reddit thread which may provide some information, but I'm not sure if it's helpful https://www.reddit.com/r/linuxquestions/comments/1ozkx7i/dbus_error_with_flatpak_apps/
Author
Owner

@keval025 commented on GitHub (Feb 10, 2026):

there is one more issue whenever i try to login in mobile version at that time cancel button is not works properly.

<!-- gh-comment-id:3876450874 --> @keval025 commented on GitHub (Feb 10, 2026): there is one more issue whenever i try to login in mobile version at that time cancel button is not works properly.
Author
Owner

@AryanAtif commented on GitHub (Mar 14, 2026):

I got it working somehow while trying to fix some other app. i unfortunately don't remember what i did to fix the issue though :(

<!-- gh-comment-id:4059386771 --> @AryanAtif commented on GitHub (Mar 14, 2026): I got it working somehow while trying to fix some other app. i unfortunately don't remember what i did to fix the issue though :(
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#3868
No description provided.