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
Is your feature request related to a problem? Please describe.
Depending on the type of authentication method used, any commands that interact with a remote repository host (i.e. GitHub, GItLab, etc.) will potentially return errors. This can occur due to:
Incorrect authentication of username/password (if using a password authentication).
Insufficient permissions for specified username on the target repository (e.g. attempting to push to a protected branch).
Expired tokens that need to be updated.
Authentication protocol restrictions (e.g. password authentication was removed from GitHub on August 13, 2021; see details).
Describe the solution you'd like
Provide a modal dialog that allow for updating the authentication information. This will likely require the use of getConfig and setConfig for updating the git-config files.
Describe alternatives you've considered
Failing with a error message and requiring the user to switch to the terminal for using git terminal utility would work, but be a bad usability scenario. This would also be an off-ramp from Synectic, which is not what we want.
Additional context
As an example of behavior when using the git terminal utility:
❯ git push origin -d remotes/origin/develop
Username for'https://github.com': *********
Password for'https://nelsonni@github.com': *********
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for'https://github.com/EPICLab/ant-design.git/'
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Depending on the type of authentication method used, any commands that interact with a remote repository host (i.e. GitHub, GItLab, etc.) will potentially return errors. This can occur due to:
Describe the solution you'd like
Provide a modal dialog that allow for updating the authentication information. This will likely require the use of
getConfig
andsetConfig
for updating the git-config files.Describe alternatives you've considered
Failing with a error message and requiring the user to switch to the terminal for using git terminal utility would work, but be a bad usability scenario. This would also be an off-ramp from Synectic, which is not what we want.
Additional context
As an example of behavior when using the git terminal utility:
The text was updated successfully, but these errors were encountered: