Unity Issue Tracker - GitHub and GitLab "Personal Access Token" is periodically cleared while Unity Hub is running on Linux
Fixed
UUM-140286
GitHub and GitLab "Personal Access Token" is periodically cleared while Unity Hub is running on Linux
Package: Hub App
Fixed
3.17.X
Steps to reproduce:
Open Unity Hub on Ubuntu
Go to Settings > Security & Privacy
Input "Personal Access Token" for GitHub or GitLab
Click Authorize
Leave the Hub running for around 15 minutes
Observe the entered "Personal Access Token"
Actual results: The Personal Access Token is cleared/lost, and the user is no longer authorized. No error or warning is shown in the UI
Expected results: The Personal Access Token should persist until the user explicitly removes it or the token expires
Reproducible with versions: 3.17.2
Tested on (OS): Ubuntu 24.04
Notes:
It seems the token resets every 15-20 minutes, sometimes sooner.
{"timestamp":"2026-04-20T15:17:57.714Z", ... "message":"Credential retrieved for provider: github (github.com)"}
{"timestamp":"2026-04-20T15:22:22.569Z", ... "message":"No credential found for provider: github (github.com)"}
Colleague mentioned they were also able to observe this on macOS, but it doesn't seem to happen as often there so might be connected to something else. For now this only appears to affect Ubuntu
libsecret-1.so.0 is present on the test machine and gnome-keyring-daemon is confirmed active. Installing libsecret-tools manually did not resolve the issue
Additionally, the "Clear personal access tokens from the OS Keychain on logout" settings is also unchecked
Prioritise and Follow this issue
Have a workaround or additional info about this issue?