Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleOnboardDirect ¶ added in v1.4.2
func HandleOnboardDirect(w http.ResponseWriter, r *http.Request)
HandleOnboardDirect handles GET/POST /onboard — a direct onboarding URL that requires no OIDC state. After setup completes the user is redirected to /admin/ where the IdP session created here allows silent SSO login without re-entering credentials. CSRF-protected form — not included in public API docs.
Methods: GET, POST Route: /onboard Accept: x-www-form-urlencoded Produce: html Param username formData string false "Admin username" Param password formData string false "Admin password" Param confirm_password formData string false "Confirm password" Param email formData string false "Admin email" Success 200 "Onboarding form (GET)" Success 302 "Redirect to /admin/ after success (POST)"
Types ¶
This section is empty.