add the ability to register from inside the user-ui

This commit is contained in:
Evan Carroll 2026-01-21 00:11:50 -06:00
parent 31e01292f9
commit ed1a1f10f9
12 changed files with 655 additions and 5 deletions

View file

@ -27,6 +27,10 @@ pub fn api_router() -> Router<AppState> {
"/auth/reset-password",
axum::routing::post(auth::reset_password),
)
.route(
"/auth/register-guest",
axum::routing::post(auth::register_guest),
)
// Realm routes (READ-ONLY)
.route("/realms", get(realms::list_realms))
.route("/realms/{slug}", get(realms::get_realm))