git: Authenticate to repohost with OAuth
This commit is contained in:
parent
4582ac1acc
commit
a6cb43ea6f
1 changed files with 7 additions and 0 deletions
|
@ -100,6 +100,13 @@ in
|
||||||
oauthAuthURL = "/login/oauth/authorize";
|
oauthAuthURL = "/login/oauth/authorize";
|
||||||
oauthTokenURL = "/login/oauth/access_token";
|
oauthTokenURL = "/login/oauth/access_token";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"http://repohost.bedum.horus.nu" = {
|
||||||
|
oauthClientId = "b00b00f53f073f4b38f7c38b1b2a944bb5069d411552a9968f1fca1d3e60395d";
|
||||||
|
oauthScopes = "read_repository write_repository";
|
||||||
|
oauthAuthURL = "/oauth/authorize";
|
||||||
|
oauthTokenURL = "/oauth/token";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
init = {
|
init = {
|
||||||
defaultBranch = "main";
|
defaultBranch = "main";
|
||||||
|
|
Loading…
Reference in a new issue