<%# Admin OAuth2 client register form body, captured into the shell content slot. Config: form { action, csrfToken, submitLabel, cancelHref, nameField, scopeField (field.ejs configs), redirectUris: string (newline-separated), public: bool, firstParty: bool } error? string shown when a write was rejected %><% const form = locals.form; -%>
<% if (locals.error) { -%> <%- include("partials/alert", { text: locals.error, tone: "neg" }) %> <% } -%>
<%- include("partials/field", form.nameField) %>
<%= t("admin.clients.field.redirectUrisHint") %>
<%- include("partials/field", form.scopeField) %> <%= t("admin.clients.field.typeHint") %>
<%= t("admin.common.cancel") %>