Autional Autional
API Reference GitHub autional.com →

POST /auth/re-authenticate

Re-authentication before high-risk operations, elevating the current session's security level via password verification. Returns a step_up_token valid for 5 minutes, usable for subsequent high-security operations as an identity token.

Authentication `bearerAuth` application/json

Request Body

Schema: dto.ReAuthenticateRequest

FieldTypeRequiredExampleConstraintsDescription
password string Yes length: 1–? Current password
mfa_code string No MFA verification code

Responses

StatusDescriptionSchema
200Operation successfuldto.ReAuthenticateDataWrapper

Referenced Schemas

dto.ReAuthenticateDataWrapper

FieldTypeRequiredExampleConstraintsDescription
code integer No 0
data dto.ReAuthenticateResponse No
message string No success

dto.ReAuthenticateResponse

Re-authentication success response

FieldTypeRequiredExampleConstraintsDescription
expires_in integer No 300 Time to live
message string No re-authentication successful Result message
step_up_token string No stepup_abc... Step-up token