onboarding

package
v1.6.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL