git: Authenticate to repohost with OAuth

This commit is contained in:
Erwin Boskma 2024-04-05 13:15:10 +02:00
parent 4582ac1acc
commit a6cb43ea6f
Signed by: erwin
SSH key fingerprint: SHA256:OCinH/khuGY1LA9RG8YLM8GNH6C1DDXBdy3SNE+I5Hw

View file

@ -100,6 +100,13 @@ in
oauthAuthURL = "/login/oauth/authorize";
oauthTokenURL = "/login/oauth/access_token";
};
"http://repohost.bedum.horus.nu" = {
oauthClientId = "b00b00f53f073f4b38f7c38b1b2a944bb5069d411552a9968f1fca1d3e60395d";
oauthScopes = "read_repository write_repository";
oauthAuthURL = "/oauth/authorize";
oauthTokenURL = "/oauth/token";
};
};
init = {
defaultBranch = "main";