cURL
curl --request GET \ --url https://local.auth.local.nhost.run/v1/mfa/totp/generate \ --header 'Authorization: Bearer <token>'
{ "imageUrl": "<string>", "totpSecret": "<string>" }
Generate Secret to request the activation of Time-Based One-Time password (TOTP)
JSON Web Token to authorize requests.
Success
The response is of type object.
object
Was this page helpful?