You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot get past sign in: "User interaction failed." #759
I attempted to sign in, and then the app asked me for my name and email, but upon clicking finish it says "Error: User interaction failed", and even though the UI moves on, any further attempts to use any feature result in this error message.
Just want to add I've been using the latest Flatpak on both a GNOME system (Fedora Silverblue) and KDE system (Fedora Kinoite). Oddly enough, I get the error only with KDE. What's even more confusing is when I used to use Arch Linux with KDE I never got this issue installing GitHub Desktop from the AUR. #753 also seems to suggest it's only a problem with the Flatpak on KDE Plasma.
This is consistent with my experience, I tried it under Gnome and it can
authenticate, I would up switching to the RPM version which can
Authenticate under KDE.
On Sun, Sep 11, 2022 at 12:18 PM PastThePixels ***@***.***> wrote:
Just want to add I've been using the latest Flatpak on both a GNOME system
(Fedora Silverblue) and KDE system (Fedora Kinoite). Oddly enough, I get
the error only with KDE. What's even more confusing is when I used to use
Arch Linux with KDE I never got this issue installing GitHub Desktop from
the AUR. #753 <#753> also seems
to suggest it's only a problem with the Flatpak on KDE Plasma.
—
Reply to this email directly, view it on GitHub
<#759 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATVICDJEG5CIWG5NKBKBQ4DV5YA53ANCNFSM6AAAAAAQDUPAWY>
.
You are receiving this because you commented.Message ID:
***@***.***>
I managed to get mine working after uninstalling the Flatpak, installing via DNF, then installing the GPG certificate, as it says to do so on the install.
There's more details in the logs about why this error is occurring, but the core of the problem is that libsecret - the API that we use to read and store credentials - doesn't receive a reply over dbus when GitHub Desktop tries to store the credentials it receives after completing the signin flow.
@hoggatt@yerodinquarzen thanks for the logs. This looks like the sign-in flow is failing at the step where we want to persist the token to the credential store. I see some mentions of KDE in here, which suggests that gnome-keyring is not available. I recommend this package because it's the best backend for libsecret, and the last I checked KWallet does not support libsecret.
I am using Fedora 37 KDE spin. When I try to install the Flatpak version the authentication fails. When using the RPM doesn't.
I tried the Flatpak on GNOME and it does work.
I haven't any GNOME components installed (like gnome-keyring). The Kwallet backend recently added libsecret support and the password is saved to Kwallet as I demostrate on the following image (only when using RPM).
I think I found the root of the cause.
On Fedora KDE spin, for some reason, xdg-desktop-portal-gtk is preinstalled by default. So even after removing gnome-keyring, for some reason, the GTK portal was taking priority over Kwallet. After removing gnome-keyring and xdg-desktop-portal-gtk and after a reboot, I can use the Flatpak version on KDE Plasma.
Maybe a issuse should be opened on the Fedora bug tracker to remove gnome-keyring and xdg-desktop-portal-gtk by default.
Reacted by xydani, Camilo Franco Moya and Malachy Moran-Tun
Closing this out for now as the original issue is a dbus configuration issue, and I don't have the bandwidth to troubleshoot aside from the previous advice.
Please check the issue tracker for other issues that are sign-in related.
Activity
thelabcat commentedon Sep 2, 2022
Strike that, I was able to add an existing repository from my hard drive. I just can't sign in to clone anything.
SirKiren commentedon Sep 7, 2022
I have also been having this issue using the flatpak. Just updated today but the issue persists.
pastthepixels commentedon Sep 11, 2022
Just want to add I've been using the latest Flatpak on both a GNOME system (Fedora Silverblue) and KDE system (Fedora Kinoite). Oddly enough, I get the error only with KDE. What's even more confusing is when I used to use Arch Linux with KDE I never got this issue installing GitHub Desktop from the AUR. #753 also seems to suggest it's only a problem with the Flatpak on KDE Plasma.
SirKiren commentedon Sep 11, 2022
Croydon commentedon Sep 30, 2022
I was able to successfully authenticate on Fedora KDE with the Flatoak version in the past, but I can't anymore
PrimedPixel commentedon Oct 15, 2022
I managed to get mine working after uninstalling the Flatpak, installing via DNF, then installing the GPG certificate, as it says to do so on the install.
$ sudo rpm --import https://mirror.mwt.me/ghd/gpgkey$ sudo dnf install github-desktopI don't know which of these actually resolved the problem, or if I'm just on a slightly older version that works, but this seems to be a solution.
I'm on Fedora, KDE, but I'm not sure if that makes a difference, just make sure the GPG certificate is installed the right way
shiftkey commentedon Oct 15, 2022
There's more details in the logs about why this error is occurring, but the core of the problem is that
libsecret- the API that we use to read and store credentials - doesn't receive a reply overdbuswhen GitHub Desktop tries to store the credentials it receives after completing the signin flow.shiftkey commentedon Oct 15, 2022
Tagging this as "more information needed" because I can only guess what's happening without more details, which the logs do contain...
thelabcat commentedon Oct 15, 2022
How can I get logs from the program?
shiftkey commentedon Oct 15, 2022
@thelabcat the files should be located at
~/.config/GitHub Desktop/and organized by datethelabcat commentedon Oct 15, 2022
Ok. Will check...
yerodinquarzen commentedon Oct 27, 2022
Founr in ~/.var/app/io.github.shiftey.Desktop/config/GitHub Desktop/logs (Flatpak-Version)
2022-10-27T22:11:22.457Z - info: [ui] [SignInStore] initializing OAuth flow
2022-10-27T22:11:22.480Z - info: [main] opening in browser: https://github.com/login/oauth/authorize?client_id=3...herewasanID...9&scope=repo%20user%20workflow&state=cef...herewasanotherID...e59
2022-10-27T22:11:23.645Z - info: [main] Received possible protocol arguments: 4
2022-10-27T22:11:23.646Z - info: [main] Processing protocol url
2022-10-27T22:11:23.647Z - info: [ui] [Dispatcher] requesting authenticated user
2022-10-27T22:11:24.459Z - info: [ui] [SignInStore] account resolved
2022-10-27T22:11:24.461Z - info: [ui] [AppStore] adding account herewasmyusername (herewasmyusername) to store
2022-10-27T22:11:24.470Z - error: [ui] Error adding account 'herewasmyusername'
Error: user interaction failed
hoggatt commentedon Dec 31, 2022
Here's my log showing pretty much the same thing on the latest version:
shiftkey commentedon Jan 29, 2023
@hoggatt @yerodinquarzen thanks for the logs. This looks like the sign-in flow is failing at the step where we want to persist the token to the credential store. I see some mentions of KDE in here, which suggests that
gnome-keyringis not available. I recommend this package because it's the best backend forlibsecret, and the last I checked KWallet does not supportlibsecret.aminya commentedon Mar 31, 2023
I have the same issue with the latest flatpak 3.2.0-linux1. Not sure how to fix it though. The apt version works without any issues.
LNDF commentedon Apr 2, 2023
I am using Fedora 37 KDE spin. When I try to install the Flatpak version the authentication fails. When using the RPM doesn't.
I tried the Flatpak on GNOME and it does work.
I haven't any GNOME components installed (like gnome-keyring). The Kwallet backend recently added libsecret support and the password is saved to Kwallet as I demostrate on the following image (only when using RPM).
shiftkey commentedon Apr 2, 2023
@LNDF that's great to hear - what version of the package do you have installed? This might help other KDE-based users get unblocked here...
LNDF commentedon Apr 2, 2023
Copied from the KInfoCenter:
Operating System: Fedora Linux 37
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-200.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
libsecrets support was introduced in KDE Frameworks 5.97.
LNDF commentedon Apr 2, 2023
I ran the application with the following command and got this output.
Running through Flatpak:
LNDF commentedon Apr 3, 2023
I think I found the root of the cause.
On Fedora KDE spin, for some reason, xdg-desktop-portal-gtk is preinstalled by default. So even after removing gnome-keyring, for some reason, the GTK portal was taking priority over Kwallet. After removing gnome-keyring and xdg-desktop-portal-gtk and after a reboot, I can use the Flatpak version on KDE Plasma.
Maybe a issuse should be opened on the Fedora bug tracker to remove gnome-keyring and xdg-desktop-portal-gtk by default.
wiiznokes commentedon Dec 2, 2023
Still having this issue on Ubuntu 23.10, with the flatpak version
shiftkey commentedon Dec 20, 2023
Closing this out for now as the original issue is a
dbusconfiguration issue, and I don't have the bandwidth to troubleshoot aside from the previous advice.Please check the issue tracker for other issues that are sign-in related.