From eec1bc00815abbf81d4ad81d96aeefc19c47d6ac Mon Sep 17 00:00:00 2001 From: "Lockszmith (@VAST)" Date: Tue, 25 Feb 2025 09:37:52 -0500 Subject: [PATCH] .gitconfig: add vastdata gitlab OAuth --- _src.posix/dot_gitconfig.tmpl | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/_src.posix/dot_gitconfig.tmpl b/_src.posix/dot_gitconfig.tmpl index 5796817..960e3c9 100644 --- a/_src.posix/dot_gitconfig.tmpl +++ b/_src.posix/dot_gitconfig.tmpl @@ -14,7 +14,19 @@ [credential] helper = cache --timeout 21600 helper = oauth -# helper = oauth -device +# helper = osxkeychain +# helper = oauth -device + +# Raed only OAuth2 authorization +[credential "https://git.vastdata.com"] + oauthClientId = 45fddd19ac1e3828f6caca2087dd78383477f0fc94164920476db536ac618beb + oauthClientSecret = 98958d78931d8f02be1ab9c4fd4f718dcce357be3b609e771ba26f500ddd6196 + # oauthScopes = "read_repository write_repository" + oauthScopes = "read_repository" + oauthAuthURL = /oauth/authorize + oauthTokenURL = /oauth/token + oauthDeviceAuthURL = /oauth/authorize_device + [credential "https://code.lksz.me"] oauthClientId = a4792ccc-144e-407e-86c9-5e7d8d9c3269 oauthAuthURL = /login/oauth/authorize