Creates the first owner on a new server. No session or setup secret is required.
Summary
Functions
Public while setup is available. Atomically creates the owner and server settings, then permanently closes setup. Concurrent or later submissions fail with FAILED_PRECONDITION. A lost response can be recovered by signing in.
Functions
@spec complete_setup(Req.Request.t(), Chatto.Auth.V1.CompleteSetupRequest.t()) :: {:ok, Chatto.Auth.V1.CompleteSetupResponse.t()} | {:error, Chatto.Connect.Error.t()}
Public while setup is available. Atomically creates the owner and server settings, then permanently closes setup. Concurrent or later submissions fail with FAILED_PRECONDITION. A lost response can be recovered by signing in.