Authentication (Allauth Headless)
Activate TOTP
Changed onThe code should be provided from the consuming TOTP authenticator application which was generated using the TOTP authenticator secret retrieved from the TOTP authenticator status endpoint.
post/api/v2/allauth/browser/v1/account/authenticators/totp
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
client'app' | 'browser' required
The type of client accessing the API.
Headers
X-Session-Tokenstring
Session token. Only needed when client is equal to app.
Request body
Example request
{
"code": "314159"
}Response
Information on the TOTP authenticator.
Example response
{
"data": {
"last_used_at": 1711555057.065702,
"created_at": 1711555057.065702
}
}Changes
- info
added the required property
//to the response with the status
- info