GitHub Token Not Saved
已回答
I can't seem to get WebStorm (2021.3.2) to save my GitHub token and am prompted on every commit, images of my setting are attached. Any help appreciated.

请先登录再写评论。
Hi Jamie,
Does it help if you switch to using the native Keychain to save passwords?
Please also provide the idea.log file (Help | Show Log in...) after restarting the IDE and reproducing the problem. You can upload it securely to https://uploads.jetbrains.com/ and provide the upload id.
Hi Arina
Hi
Any news on this?
Hello Jamie Mackenzie
There was a similar issue reported here:
https://youtrack.jetbrains.com/issue/IDEA-228163
Could you please clarify whether you have updated your Mac or IDE recently?
In logs there are no messages related to Keychain, so it's failing siltently for some reason. This may happen due to change of an app signature.
Similar issue has been reported here:
https://github.com/desktop/desktop/issues/3625#issuecomment-352319346
In some cases going to Keychain and doing lock/unlock may help.
Ok so I tried unlocking and re-locking the keychain, but I still get the popup to enter the token with every push. So I downloaded a trial version of Goland and it's doing the same thing every push asks for a token? I tried setting save toke in KeyChain and KeePass, same thing. In Vscode I enter the token once and I can push without re-entering it, so I don't think is a permissions thing.
Is this a bug? It's a security problem as I need to keep accessing my GitHub so I'm keeping it in a text file so I can copy and paste it! Not ideal!
Jamie Mackenzie
>Is this a bug?
For now it looks like a bug.
Could you please enable "Save in keychain", then open Keychain window, then try to use Git operation and see if a record in Keychain has been added?
Hi
I tried what you said, and I can't see anything being added to the Keychain window under any of the tabs!
Hi
Just to make sure that we are on the same page - could you please share a screenshot of a popup that is requesting a token?
Here is a shot of the popup.
Hi Jamie Mackenzie
Thank you for the screenshot.
Do you have some antivirus/monitoring tool installed on your machine?
Do you start IDE from Toolbox or it's a standalone installation?
Would it be possible to update to the latest version and see if the issue is still there?
I've updated via the toolbox to version 2022.1 and no I don't have any VPN or anti-virus running but still, I get the same popup. If I push using the terminal app I just enter the token and password once and it works, the same with VS code. This is only happening with Jetbrains tools!
Hi Jamie Mackenzie
if you have an issue with Webstorm and Goland - do you have any specific user to start IDE?
Are you trying to run git commands in terminal as sudo?
Please enable debug logs (Help - Diagnostic Tools - Debug Log Settings...) for the following category:
#org.jetbrains.plugins.github
Then please reproduce the issue and share the entire logs folder zipped as per https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files
Hi
Sorry, I've been slow to reply, it's been a manic month!
I have uploaded the log: Upload ID "2022_06_02_a6kDX2D2T1bc8xYKsDrY2j"
If I run git push in the terminal everything is normal and I don't need to enter a token as you would expect Github to work. However, if I use the Webstorm GUI to push I have to enter the token every single time.
Thank you for logs.
Would it be possible to re-install IDE completely? It seems that you have faced a bug with an access of IDE to a Keychain
I've just uninstalled the app and run App Cleaner to remove any hidden files. I have re-installed a fresh copy from the Jetbrains toolbox and it's still just the same! 👎
Could you please share a new log bundle then?
You may have faced something similar to this ticket:
https://youtrack.jetbrains.com/issue/IDEA-228926
Switched to Native keychain and still the same.
Log id: 2022_07_12_Ge5xeN1iXsktyEdbuqKFYi
It's not DB connections it's GitHub I'm struggling with, as I have to enter the token every time I push. It's not secure as I have to copy and paste every time. Tried reinstalling via Jetbrains Toolbox and as a direct download still the same!
Have the same issue with JetBrains Client 2022.1.4, GitHub Token not being saved neither in Keychain nor in keypass.
Have exact same issue. Updated to latest IDEA but issue remains
IntelliJ IDEA 2022.2.1 (Community Edition)
Build #IC-222.3739.54, built on August 16, 2022
Runtime version: 17.0.3+7-b469.37 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
I have the same issue with version 2022.2.1. Installed via the toolbox. Every time I start the app it requests the github login with a popup. And it after certain intervals it pops up.
Glad it's not just me! Any chance we can get this looked at JetBrains?
Hello
Thank you all for participating in this thread.
I would like to ask you to follow this link:
https://youtrack.jetbrains.com/issue/IDEA-301557/GitHub-Token-is-not-saved
Please share the following information in the ticket:
1. Are you trying to authenticate with organization repo? If so - have you tried to follow this article or a guide by GitHub on how to request organization approval in this guide
2. Once you tried to perform any git action and then IDE asked you to login - do you see "Missing access token" under File | Settings | Version Control | GitHub?
3. Do you have password safe configured under File | Settings | Appearance & Behavior | System Settings | Passwords?
4. Do you see how credentials entry added to KeyChain/KeePass?
5. Do you have "Use credential helper" disabled under File | Settings | Version Control | Git?
Fixed!!!!
It was:
Do you have "Use credential helper" disabled under File | Settings | Version Control | Git?
😀