nfdi4plants / ARCCommander

Tool to manage your ARCs
MIT License
11 stars 9 forks source link

[BUG] arc sync keeps asking for git credentials #186

Open Brilator opened 1 year ago

Brilator commented 1 year ago

Describe the bug All steps to authenticate PC against datahub were done:

git config --global credential.helper cache
git config --global credential.helper store
arc remote accesstoken get -s https://git.nfdi4plants.org

Still, during arc sync git credentials manager pops up and asks for credentials.

OS and framework information (please complete the following information):

HLWeil commented 1 year ago

Hey, first of all the naive question: Does the gitlab user account you log into when getting the access token have the necessary rights to sync?

If so, could you check whether the token gets correctly stored? You can find this information by opening the Credential Manager application (you can find it via windows search). Then in the Windows Credentials section under Generic Credentials there should be a credential stored for git:https://git.nfdi4plants.org.

Brilator commented 1 year ago

Does the gitlab user account you log into when getting the access token have the necessary rights to sync?

Yes. ARC owner.

Thanks, I'll forward that.