Pre-register OAuth application for tea (#27509)
It remains to implement OAuth login in tea https://gitea.com/gitea/tea/issues/598 Fixes #27510
This commit is contained in:
parent
08efeb5cdc
commit
a825cc0f34
6 changed files with 11 additions and 4 deletions
|
@ -66,6 +66,11 @@ func BuiltinApplications() map[string]*BuiltinOAuth2Application {
|
|||
DisplayName: "Git Credential Manager",
|
||||
RedirectURIs: []string{"http://127.0.0.1", "https://127.0.0.1"},
|
||||
}
|
||||
m["d57cb8c4-630c-4168-8324-ec79935e18d4"] = &BuiltinOAuth2Application{
|
||||
ConfigName: "tea",
|
||||
DisplayName: "tea",
|
||||
RedirectURIs: []string{"http://127.0.0.1", "https://127.0.0.1"},
|
||||
}
|
||||
return m
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue