<%# Admin OAuth2 client register form body (todo ยง6), 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("alert", { text: locals.error, tone: "neg" }) %> <% } -%>
<%- include("field", form.nameField) %>
One per line โ€” where the app is sent back after sign-in.
<%- include("field", form.scopeField) %>
Cancel