Summary: | Kdevelop fails to authenticate on Github | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | David <kitt997> |
Component: | Project provider: Github | Assignee: | kdevelop-bugs-null |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | p.r.worrall, timon, yudahsshadow, zachary |
Priority: | NOR | ||
Version First Reported In: | 5.6.2 | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David
2021-03-20 14:09:27 UTC
I can reproduce this. I'm using a token generated by GitHub at the URL linked in the KDevelop error message (see original report) Operating System: KDE neon 5.22 KDE Plasma Version: 5.22.3 KDE Frameworks Version: 5.83.0 Qt Version: 5.15.3 Kernel Version: 5.8.0-59-generic (64-bit) Graphics Platform: X11 Processors: 4 × AMD A6-3420M APU with Radeon(tm) HD Graphics Memory: 5.3 GiB of RAM Graphics Processor: AMD SUMO Nearly a year later, but I also have this problem. I am not on a VPN. I do not have MFA enabled. The suggested work around, of adding the token created on github.com works to get the initial download of the repo, but it doesn't allow for pushing (or I assume pulling) code back to the repo, as that also requires logging in now, and kdevelop doesn't seem to pass the username back to the process. I get the following error when pushing. "/home/username/project_dir> git push Command exited with value 128. fatal: could not read Username for 'https://github.com': No such device or address Command finished with error UnknownError." I suspect being able to login at the start would fix this. What I think has happened is that github has changed their login procedure, and kdevelop is still using the old way of logging in and creating a token via the api. What has to happen now is you create the access token on github.com and use that token as your password when logging in to get repos and push/pull. There also needs to be a mechanism for updating the token as the new fine-grained access tokens must expire, and the furthest out I was able to push one was 1 year. |