Ionize Docs
ReferenceAPIsOry Identities APIidentity

Create a test OIDC login flow

Creates a dry-run OIDC test login flow pre-scoped to one provider. The

POST /admin/test-login-flows

Creates a dry-run OIDC test login flow pre-scoped to one provider. The returned flow carries a single-submit UI and a CSRF bearer token. No identity is persisted and no session is issued when the flow completes; the captured debug data is returned in the flow's test_context.

Operation ID: createTestLoginFlow    Tag: identity

Request body

Content-Type: application/json

Type: object

Schema: createTestLoginFlowBody — see the Ory Identities API schemas reference for the full type.

Responses

StatusDescriptionBody
201loginFlowapplication/json — object
400errorGenericapplication/json — object
404errorGenericapplication/json — object
defaulterrorGenericapplication/json — object

Generated from scripts/gen/specs/kratos-api.json at build time.

On this page