vibe.web.routes.main

Main routes for listing and launching templates.

rotate_session_on_login

rotate_session_on_login(token_claims: dict[str, Any]) -> None

Clear the session and populate it with identity data from the PASETO token claims.

protected_entrypoint

protected_entrypoint() -> ResponseReturnValue

Entrypoint that validates PASETO token before redirecting to the requested page.

list_templates

list_templates() -> ResponseReturnValue

List all available templates, their status, and allow starting an interview.