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
| Status | Description | Body |
|---|---|---|
| 201 | loginFlow | application/json, object |
| 400 | errorGeneric | application/json, object |
| 404 | errorGeneric | application/json, object |
| default | errorGeneric | application/json, object |
Generated from /tmp/kratos-api.json at build time.