New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

Delete a test OIDC login flow

DELETE 

/self-service/login/test

Deletes a dry-run OIDC test login flow. A flow whose debug payload has been captured requires the HMAC cookie set by the OIDC callback; a flow still in the initial choose-method state is deletable with just the flow ID (it carries no PII, and the admin may want to abandon it).

SDK ReferenceTypeScript
deleteTestLoginFlow()
ParametersTypeRequiredDescription
idstringrequiredID of the test login flow to delete.
cookiestringoptionalHTTP Cookies. A captured test flow requires the ory_kratos_test_flow cookie set by the OIDC callback; a flow still in the initial choose-method state does not.