pub async fn register_handler(
__arg0: State<GatewayState>,
__arg1: Json<RegisterRequest>,
) -> Result<Json<RegisterResponse>, AuthHandlerError>Expand description
Register endpoint
Creates a new user account. Only admins can specify role, otherwise defaults to User.
POST /api/v0/auth/register