---
title: "Select between previously set up two-factor methods."
method: GET
path: "/tf-select"
---

# Select between previously set up two-factor methods.

`GET /tf-select`

If a user has set up more than one way to provide a second factor of authentication, this view will ask the user to choose.

## Response `200`

Two-factor method select form - SECURITY_TWO_FACTOR_SELECT_TEMPLATE

- object
  - `meta` object, required
    - `code` integer, required — Http status code
  - `response` object, required
    - `csrf_token` string — Session CSRF token
    - `tf_setup_methods` string[]
    - `tf_select` boolean

## Changes

- **2022-06-18** `2f80547852cc` — 1 breaking, 2 warning, 1 info
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `tf_select` from the response with the `200` status
  - removed the optional property `tf_setup_methods` from the response with the `200` status
  - added `#/components/schemas/DefaultJsonResponseNoUser, subschema #2` to the response body `allOf` list for the response status `200`
- **2022-04-11** `afed188e0556` — 1 info
  - endpoint added
- **2019-07-23** `11c8459a5c04` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/pallets-eco/apis/flask-security-external-api/changes/tf-select/get.md)

---

[API](https://skmtc.dev/pallets-eco/apis/flask-security-external-api.md) · [All operations](https://skmtc.dev/pallets-eco/apis/flask-security-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pallets-eco/flask-security-external-api/revisions/ee92f388dafa/schema)
