I’m attempting to run
git clone with an installation token, but not having success. Things work fine with an OAuth token.
The Git Access section says:
Ask for Repository contents permission and use your installation token to authenticate via HTTP-based Git
I’ve asked for read-only permissions to contents:
…but when I attempt to clone, I get an error:
git clone https://[TOKEN REMOVED]:email@example.com/scoutapp/[REPO] Cloning into '[REPO]'... remote: Invalid username or password. fatal: Authentication failed for 'https://[TOKEN REMOVED]:firstname.lastname@example.org/scoutapp/[REPO]/'
I’ve tried using the prompts as well for username/pw and inserting [TOKEN REMOVED] as the username - no luck.
I’m able to read repo contents just fine via the API.
Is cloning possible with an installation token?