user
Generate TOTP secret
Changed onGenerate a Time-based One-Time Password (TOTP) secret for setting up multi-factor authentication
get/mfa/totp/generate
Request
- Base URLhttps://{subdomain}.auth.{region}.nhost.run/v1
- URLhttps://{subdomain}.auth.{region}.nhost.run/v1/mfa/totp/generate
- AuthHTTP bearer
Response
TOTP secret successfully generated
Example response
{
"imageUrl": "data:image/png;base64,iVBORw0KGg...",
"totpSecret": "ABCDEFGHIJK23456"
}Changes
- info
the endpoint scheme security
BearerAuthElevatedwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API
- info
- warning
added the new
otp-too-many-attemptsenum value to theresponse property for the response status
- warning