+
+ + {{template "base/alert" .}} +

Internal Server Error

diff --git a/web_src/js/features/admin/common.js b/web_src/js/features/admin/common.js index 84fd35e081..b6b192a296 100644 --- a/web_src/js/features/admin/common.js +++ b/web_src/js/features/admin/common.js @@ -171,6 +171,12 @@ export function initAdminCommon() { } } + if ($('.admin.authentication').length > 0) { + $('#auth_name').on('input', function () { + $('#oauth2-callback-url').text(`${window.location.origin}/user/oauth2/${encodeURIComponent($(this).val())}/callback`); + }).trigger('input'); + } + // Notice if ($('.admin.notice')) { const $detailModal = $('#detail-modal');