v1

latestOpenAPI 3.0.3Apache 2.02026-07-173769114.2 KB
public
admin

Get Login Flow

This endpoint returns a login flow's context with, for example, error details and other information.

More information can be found at Ory Kratos User Login and User Registration Documentation.

get/self-service/login/flows

Query parameters

idstring required

The Login Flow ID

The value for this parameter comes from flow URL Query parameter sent to your application (e.g. /login?flow=abcde).

Response

loginFlow

activestring

and so on.

expires_atstring date-time required

ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.

forcedboolean

Forced stores whether this login flow should enforce re-authentication.

idstring uuid4 required
issued_atstring date-time required

IssuedAt is the time (UTC) when the flow started.

methodsobject required

List of login methods

This is the list of available login methods with their required form fields, such as identifier and password for the password login method. This will also contain error messages such as "password can not be empty".

request_urlstring required

RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.

typestring

The flow type can either be api or browser.