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
No Authentication Section in Settings #426
Comments
Same. Macbook Air M1, OS Ventura 13.1 |
Same here. Linux, Fedora 37, Flathub |
+1 |
Same, OSX, Version 1.1.9 (Installer 1.1.9) |
I had the following error:
using the suggestion by @sawasawasawa worked and I was able to commit, pull and push. |
Lort, this was a 3-hour endeavor to find this. Why in the world is this not set by default? Also, for anyone confused, the file @sawasawasawa mentioned, which did fix my issue, is located inside the /YOURVAULT/.obsidian/plugins/obsidian-git/main.js Search for:
|
@sawasawasawa I understand using isomorphic-git makes authentication a lot easier, BUT it's way slower and doesn't support all featuers, because it's a complete reimplementation of Git in javascript. For example is the merge conflict solver not as good as native git. I tried to come up with the most general solution as possible, without having to install too much packages or write many config. I summarized it here. May you try it out and tell me how it's working? I can't test it on all operating systems. Especially not macOS. |
@Vinzent03 Can't promise, but I will try to arrange some time for that on the weekend ;) Just to clarify - you want me to test the macOs part here https://github.com/denolehov/obsidian-git/wiki/Authentication#macos ? Is your testing procedure described somewhere? I'd rather not mess too much with my main vault ;) |
@sawasawasawa I doesn't change anything in your vault. It changes a global git config, which doesn't affect your vault in any way currently, because you use isomorphic-git. |
@Vinzent03 Ok I think I understand better now what was causing the confusion. 2 weeks ago I initiated the vault on my mobile, connected it to the repo and afterwards created a new vault on desktop, and imported the vault using the plugin. After doing so when I reloaded obsidian some config from the mobile must have been used and it was missing the some data. I did it the other way round today:
I am not sure if @mpfp @albinotonnina @kevinnmark @FnigePython @r-menezes @mikes-bowden were facing the same issue. Anyways it seems like the authentication procedure and iOs/OSX combination setup could be better described (and probably mentioned somehow in the settings). Having said that, and having solved my issues the hacky way - I am not sure how it should look like :P |
Please be more specific, what exactly was the issue?
Do you mean that the password field was empty? That's by design, it's still stored, but not shown. I don't think it was necessary to create a new GitHub repository and vault, but great it's working now. |
I'm experiencing this too. New vault created today, never used the plugin before. |
Please follow the documentation |
I don't see an Authentication section in the Settings. I'm on Windows and I have git installed and on the path (can use it on the command line). Where do I put an authentication token or password?
The text was updated successfully, but these errors were encountered: