Admin Authentication
Two-factor setup
Changed onReturns the QR code (SVG and otpauth URL) to scan into an authenticator app. The secret is generated on the first call and reused until two-factor authentication is disabled. Refused once two-factor authentication is enabled.
get/account/two-factor
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Setup data.
Changes
- info
endpoint added
- info