From a813c9d8f3862fec934ff657fb4e490530167183 Mon Sep 17 00:00:00 2001 From: qwerty287 <80460567+qwerty287@users.noreply.github.com> Date: Sun, 9 Oct 2022 14:07:41 +0200 Subject: Allow creation of OAuth2 applications for orgs (#18084) Adds the settings pages to create OAuth2 apps also to the org settings and allows to create apps for orgs. Refactoring: the oauth2 related templates are shared for instance-wide/org/user, and the backend code uses `OAuth2CommonHandlers` to share code for instance-wide/org/user. Co-authored-by: wxiaoguang --- templates/org/settings/applications.tmpl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/org/settings/applications.tmpl (limited to 'templates/org/settings/applications.tmpl') diff --git a/templates/org/settings/applications.tmpl b/templates/org/settings/applications.tmpl new file mode 100644 index 0000000000..8bdd99deb8 --- /dev/null +++ b/templates/org/settings/applications.tmpl @@ -0,0 +1,18 @@ +{{template "base/head" .}} +
+ {{template "org/header" .}} +
+
+ {{template "org/settings/navbar" .}} +
+ {{template "base/alert" .}} +

+ {{.locale.Tr "settings.applications"}} +

+ + {{template "user/settings/applications_oauth2_list" .}} +
+
+
+
+{{template "base/footer" .}} -- cgit v1.2.3