Udon is under active development. Documentation not final.
udonudon
Auth

Begin two-factor setup

Starts TOTP setup for your own account and returns the secret and the `otpauth://` URL for the authenticator app. Two-factor stays off until the first code is confirmed via the enable endpoint. Requires the **viewer** role.

POST
/api/auth/2fa/setup

Authorization

udon_session<token>

In: cookie

Response Body

application/json

application/json

curl -X POST "https://example.com/api/auth/2fa/setup"
{  "secret": "string",  "otpauthUrl": "string"}

Ask AI

Answers from Udon's documentation.

Ask how to install Udon, run containers, or share folders.