Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: #823

Open
jonasqin opened this issue Dec 6, 2024 · 3 comments
Open

[Bug]: #823

jonasqin opened this issue Dec 6, 2024 · 3 comments
Labels
awaiting response Cannot work on issue until response from an author of an issue support This issue is probably not an actual issue in the plugin, but the user needs help with their setup.

Comments

@jonasqin
Copy link

jonasqin commented Dec 6, 2024

Describe the bug

Every time I log in, a pop-up window asks for my GitHub username and password, but it always says my input is incorrect. In reality, there is nothing wrong with my input. I don't know what is happening.

image image

{
"settings": {
"commitMessage": "vault backup: {{date}}",
"commitDateFormat": "YYYY-MM-DD HH:mm:ss",
"autoSaveInterval": 30,
"autoPushInterval": 0,
"autoPullInterval": 0,
"autoPullOnBoot": true,
"disablePush": false,
"pullBeforePush": true,
"disablePopups": true,
"disablePopupsForNoChanges": false,
"listChangedFilesInMessageBody": false,
"showStatusBar": true,
"updateSubmodules": false,
"syncMethod": "merge",
"customMessageOnAutoBackup": false,
"autoBackupAfterFileChange": true,
"treeStructure": false,
"refreshSourceControl": true,
"basePath": "",
"differentIntervalCommitAndPush": false,
"changedFilesInStatusBar": false,
"showedMobileNotice": true,
"refreshSourceControlTimer": 7000,
"showBranchStatusBar": true,
"setLastSaveToLastCommit": false,
"submoduleRecurseCheckout": false,
"gitDir": "",
"showFileMenu": true,
"authorInHistoryView": "hide",
"dateInHistoryView": true,
"lineAuthor": {
"show": false,
"followMovement": "inactive",
"authorDisplay": "initials",
"showCommitHash": false,
"dateTimeFormatOptions": "date",
"dateTimeFormatCustomString": "YYYY-MM-DD HH:mm",
"dateTimeTimezone": "viewer-local",
"coloringMaxAge": "1y",
"colorNew": {
"r": 255,
"g": 150,
"b": 150
},
"colorOld": {
"r": 120,
"g": 160,
"b": 255
},
"textColorCss": "var(--text-muted)",
"ignoreWhitespace": false,
"gutterSpacingFallbackLength": 5,
"lastShownAuthorDisplay": "initials",
"lastShownDateTimeFormatOptions": "date"
},
"autoCommitMessage": "vault backup: {{date}}"
},
"pluginVersion": "2.30.1"
}

Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)

No response

Steps to reproduce

as above

Expected Behavior

No response

Addition context

No response

Operating system

macOS

Installation Method

None

Plugin version

2.30.1

@jonasqin jonasqin added the bug Something isn't working label Dec 6, 2024
@Vinzent03
Copy link
Owner

Vinzent03 commented Dec 6, 2024

Are you still entering the password of your GitHub in the pop up? If so please read the error notification, git authentication with password does no longer work with GitHub. You need a personal access token.

@Vinzent03 Vinzent03 added awaiting response Cannot work on issue until response from an author of an issue support This issue is probably not an actual issue in the plugin, but the user needs help with their setup. and removed bug Something isn't working labels Dec 11, 2024
@tanmayyb
Copy link

I'm facing the exact same issue. I entered my personal access token which has push/pull permissions enabled - BUT I'm repeatedly prompted to provide credentials.

The Push feature also doesn't work.

@Vinzent03
Copy link
Owner

@tanmayyb So you also get the error that you can't use a password so the push fails?
I'm a bit confused by the phrase

The Push feature also doesn't work.

Is there any other error you are facing? If not, sure push doesn't work, because GitHub is blocking your authentication try.
Please try to push from the terminal and describe how you have to authenticate. If you have to enter your username and password, please enter the same values as you do in Obsidian. Meaning your username and personal access token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting response Cannot work on issue until response from an author of an issue support This issue is probably not an actual issue in the plugin, but the user needs help with their setup.
Projects
None yet
Development

No branches or pull requests

3 participants