---
title: "Get MFA status for the current user"
method: GET
path: "/auth/mfa/status"
tags: ["Auth"]
---

# Get MFA status for the current user

`GET /auth/mfa/status`

## Request

- Base URL: `https://app.didattica.polito.it/api`
- URL: `https://app.didattica.polito.it/api/auth/mfa/status`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/polito/apis/polito-faculty-api/docs/auth/mfa/status/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

The request has succeeded.

- object
  - `data` MfaStatusResponse, required
    - `status` 'active' | 'locked' | 'available' | 'unavailable' | 'needsReauth', required: Current MFA status for the user
    - `details` object, nullable, required: Additional information about the MFA session. Present only if status is `active` or `locked`
      - `lastAuth` string, date-time, required
      - `authCount` integer, required
      - `serial` string
      - `description` string

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `500`: Server error

---

[API](https://skmtc.dev/polito/apis/polito-faculty-api.md) - [All operations](https://skmtc.dev/polito/apis/polito-faculty-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polito/apis/polito-faculty-api/revisions/c29c33e75373?raw)
