trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
239 stars 57 forks source link

Unable to connect to gitlab selfhosted with token #234

Open Martin-bl opened 4 months ago

Martin-bl commented 4 months ago

Hello, If I setup git-sync with username and password it works well on my gitlab self hosted.
But it don't work with a token.
I have this error :
Failed to save entry: fatal: could not read Password for 'https://{password}@git.mydomain.fr': No such device or address
I tried lots of things but nothing works.

On the same server, with the user grav, I tried : git clone https://oauth2:thegoodtoken@git.mydomain.fr/group/project.git
and it works.
I did a commit : it works

What am I doing wrong ?
Thanks