--- id: flows-executor-solve title: "flows_executor_solve" description: "Solve the previously retrieved challenge and advanced to the next stage." sidebar_label: "flows_executor_solve" hide_title: true hide_table_of_contents: true api: eJztXd2T2zYO/1c0erl2xl7n0j7c5OnSJL3LTJJus9u7h3ZHpSXaZlaWfPrwrrvj//0AkJKob8mSk9bR064ligRBAAR/BMEn09/xgEXC99465gtz5foPocUfuR1HfmCFvrvn5sx0eGgHYofFoNANPjWiDTd2Ad8LPw7dgxHwKBB8zx3D3jDX5d6aG8xzDObsmWfD48inTzz+GBlhxNb8CiresYBtecSD0Hzx65MpsPodizbwyoMXiiIrdOM1PArtDd8y88WTGR12+DKENr21eZyZAf9fLAIOfYiCmB9nqq7/xTw4ZJUlPxsqynf1Z/xAvjRYCJ20uYA+mqUG72Ym9Al7IXlo3skiPIx+8J0DNmX7XsS9CP9lu50rbGL74lOILT1pNPke/2lF/FDU+ctP3I5K43Ad8tjxDdtlYWis/MDAajkQGe58L8Rxi0TkYgUv8cWrZFw+qgIfJX0mcqtnS07sV7YTwxB7EXbND17H/oAmb97fGOnnaVszwwGJs7khQiPkkbE8GGseWclrS3ggWiBudTRBrWOyARqDils5cUPFBjR8+9Pt9TBuZOL6Kwiiw1E+K2nFpgZQmhEZh6D0yKRX0Nx8yfAnGoT/8iU26BlMbzas491/mCsc0pQBVKVtlnlY4E36uI4/SVVjihFwwg/j5VZENaLk39DbAW0qNnLDZrsILDSY43vuFTovn2k9fyULD5EHLO5F2qSQCS/zDsYe6UqfGcpkokDTm1YCZfUDCHwdb7eHCvK0AaAiA5p4s2XCLTYBZF8ZH3xjJbjrhFfG7Qb6nJUR4W8ecx/YIQQdB0kBBhjCk9yCmXQt1AwMWgbygx+CnuMbnIcPGvHU+ADi3zoo+is1W2UUFkYmFo5FXdFHJ//tACKSL6DLDITDs90YCqQMmEMzHDmkzCEZuGab9xMq8WsqjvZpNNoUBRtwFpac54ycsn8RW4ISevAaLACIgWPWUvWj8ES4GWJpwMI8+IFTLd86f3aqpM6j5O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btHpLIQShkKpOFKWX4mV5cq2ZWJk6v/z7WftnQlyPSCyHCwnSTz8hzG+7e3pkrFTBwIXywWaxFt4uUV9G2hVbHI/lu6/nIBTXmLd29fvflw84a4hGO2ZZ5WOQ2bkQybEfrunhe7p0m1eYMFaKW7C/he+HHoHsDggojxPdd3dDGnOnP2OPs4yTaNBzONShtkptMbTj8LWP7LuUNNs1KqZEQYGuyEQPj3RSpZ8APFd4OCCGWfnpYs5L8E7vGIj0EWggMJnCNChCsctY3V0LtvPioF+db4GT+XqgOrB+iizcWeZvVKugkcU22CyEicxiTh3jOYnQguOZWWukYTA+jl2kyIyfh0vDsmOTaJCPn+lWxqjmZe+75ktvCkofzipW3zXdRY9k6zEJhH38y8zy2ZJTNgDwTPPUhafeo6qTw9ewInxVvHuHH3wpR1kp2OIz3mR2n+LPlHSy+Q5wYIBZW4xYyQIBgJc2SGSGDM8fh/UwbnGg== sidebar_class_name: "post api-method" info_path: docs/developer-docs/api/reference/authentik custom_edit_url: null hide_send_button: true --- import ApiTabs from "@theme/ApiTabs"; import DiscriminatorTabs from "@theme/DiscriminatorTabs"; import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint"; import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes"; import MimeTabs from "@theme/MimeTabs"; import ParamsItem from "@theme/ParamsItem"; import ResponseSamples from "@theme/ResponseSamples"; import SchemaItem from "@theme/SchemaItem"; import SchemaTabs from "@theme/SchemaTabs"; import Heading from "@theme/Heading"; import OperationTabs from "@theme/OperationTabs"; import TabItem from "@theme/TabItem"; Solve the previously retrieved challenge and advanced to the next stage.

Path Parameters

Query Parameters

Body

    oneOf
    Pseudo class for apple response
    Pseudo class for duo response
    SMS Challenge response, device is set by get_response_instance
    Pseudo class for static response
    TOTP Challenge response, device is set by get_response_instance
    Challenge used for Code-based and WebAuthn authenticators
    selected_challenge object
    Single device challenge
    challenge object required
    webauthn object
    WebAuthn Challenge response
    response object required
    Pseudo class for autosubmit response
    Validate captcha token
    Consent challenge response, any valid response request is valid
    Dummy challenge response
    Email challenge resposen. No fields. This challenge is always declared invalid to give the user a chance to retry
    Identification challenge
    Response that includes the user-entered device code
    Response that device has been authenticated and tab can be closed
    Password challenge response
    Pseudo class for plex response
    Validate response, fields are dynamically created based on the stage
    User login challenge
Schema
    oneOf
    Challenge when a flow's active stage calls `stage_invalid()`.
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Special challenge for apple-native authentication flow, which happens on the client.
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Duo Challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • SMS Setup challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Static authenticator challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • TOTP Setup challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Authenticator challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • device_challenges object[] required
  • Array [
  • challenge object required
  • ]
  • configuration_stages object[] required
  • Array [
  • ]
  • WebAuthn Challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • registration object required
    Autosubmit challenge used to send and navigate a POST request
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • attrs object required
    Site public key
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Challenge info for consent screens
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • permissions object[] required
  • Array [
  • ]
  • additional_permissions object[] required
  • Array [
  • ]
  • Dummy challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Email challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Challenge class when an unhandled error occurs during a stage. Normal users are shown an error message, superusers are shown a full stacktrace.
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Identification challenges with all UI elements
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • sources object[]
  • Array [
  • challenge object required
    oneOf
    Challenge type to redirect the client
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Challenge shown to the user in identification stage
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Special challenge for apple-native authentication flow, which happens on the client.
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • ]
  • OAuth Device code challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Final challenge after user enters their code
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Password challenge UI fields
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Challenge shown to the user in identification stage
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Initial challenge being sent, define fields
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • fields object[] required
  • Array [
  • ]
  • Challenge type to redirect the client
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • challenge type to render HTML as-is
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
  • Empty challenge
    flow_info object
    Contextual flow information for a challenge
    response_errors object
    property name* object[]
  • Array [
  • ]
Schema
Schema