Files
upstream-ory-kratos/.schema/openapi/patches/selfservice.yaml
upstream-mirror c60cc7ca75
Some checks failed
CI / Run tests and lints (push) Failing after 29s
CI / Build CLI docs (push) Has been skipped
CI / Run Playwright end-to-end tests (mysql) (push) Failing after 3s
CI / Run Playwright end-to-end tests (postgres) (push) Failing after 2s
CI / Run Playwright end-to-end tests (sqlite) (push) Failing after 3s
CodeQL / Analyze (go) (push) Failing after 4s
CodeQL / Analyze (javascript) (push) Failing after 3s
Docker Image Scanners / scanners (push) Failing after 4s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Run end-to-end tests (postgres) (push) Failing after 19s
CI / Run end-to-end tests (sqlite) (push) Failing after 2s
CI / Run Playwright end-to-end tests (cockroach) (push) Failing after 2s
CI / Draft newsletter (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
snapshot of https://github.com/ory/kratos.git (master, 2026-09-15; blobs > 131072B omitted)
2026-09-15 21:19:12 +05:00

188 lines
7.8 KiB
YAML

# Makes updateLoginFlowPayload polymorph
#- op: remove
# path: /components/schemas/updateLoginFlowBody/type
#- op: add
# path: /components/schemas/updateLoginFlowBody/oneOf
# value:
# - "$ref": "#/components/schemas/updateLoginFlowWithPasswordMethod"
# Makes updateRegistrationFlowPayload polymorph
# All modifications for the registration flow
- op: remove
path: /components/schemas/updateRegistrationFlowBody/type
- op: add
path: /components/schemas/updateRegistrationFlowBody/oneOf
value:
- "$ref": "#/components/schemas/updateRegistrationFlowWithPasswordMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithOidcMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithSamlMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithWebAuthnMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithCodeMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithPasskeyMethod"
- "$ref": "#/components/schemas/updateRegistrationFlowWithProfileMethod"
- op: add
path: /components/schemas/updateRegistrationFlowBody/discriminator
value:
propertyName: method
mapping:
password: "#/components/schemas/updateRegistrationFlowWithPasswordMethod"
oidc: "#/components/schemas/updateRegistrationFlowWithOidcMethod"
saml: "#/components/schemas/updateRegistrationFlowWithSamlMethod"
webauthn: "#/components/schemas/updateRegistrationFlowWithWebAuthnMethod"
code: "#/components/schemas/updateRegistrationFlowWithCodeMethod"
passkey: "#/components/schemas/updateRegistrationFlowWithPasskeyMethod"
profile: "#/components/schemas/updateRegistrationFlowWithProfileMethod"
- op: add
path: /components/schemas/registrationFlowState
value:
title: Registration flow state (experimental)
description: The experimental state represents the state of a registration flow. This field is EXPERIMENTAL and subject to change!
type: string
enum:
- choose_method
- sent_email
- passed_challenge
# end
# All modifications for the login flow
- op: remove
path: /components/schemas/updateLoginFlowBody/type
- op: add
path: /components/schemas/updateLoginFlowBody/oneOf
value:
- "$ref": "#/components/schemas/updateLoginFlowWithPasswordMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithOidcMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithSamlMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithTotpMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithWebAuthnMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithLookupSecretMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithCodeMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithPasskeyMethod"
- "$ref": "#/components/schemas/updateLoginFlowWithIdentifierFirstMethod"
- op: add
path: /components/schemas/updateLoginFlowBody/discriminator
value:
propertyName: method
mapping:
password: "#/components/schemas/updateLoginFlowWithPasswordMethod"
oidc: "#/components/schemas/updateLoginFlowWithOidcMethod"
saml: "#/components/schemas/updateLoginFlowWithSamlMethod"
totp: "#/components/schemas/updateLoginFlowWithTotpMethod"
webauthn: "#/components/schemas/updateLoginFlowWithWebAuthnMethod"
lookup_secret: "#/components/schemas/updateLoginFlowWithLookupSecretMethod"
code: "#/components/schemas/updateLoginFlowWithCodeMethod"
passkey: "#/components/schemas/updateLoginFlowWithPasskeyMethod"
identifier_first: "#/components/schemas/updateLoginFlowWithIdentifierFirstMethod"
- op: add
path: /components/schemas/loginFlowState
value:
title: Login flow state (experimental)
description: The experimental state represents the state of a login flow. This field is EXPERIMENTAL and subject to change!
type: string
enum:
- choose_method
- sent_email
- passed_challenge
# end
# All modifications for the recovery flow
- op: remove
path: /components/schemas/updateRecoveryFlowBody/type
- op: add
path: /components/schemas/updateRecoveryFlowBody/oneOf
value:
- "$ref": "#/components/schemas/updateRecoveryFlowWithLinkMethod"
- "$ref": "#/components/schemas/updateRecoveryFlowWithCodeMethod"
- op: add
path: /components/schemas/updateRecoveryFlowBody/discriminator
value:
propertyName: method
mapping:
link: "#/components/schemas/updateRecoveryFlowWithLinkMethod"
code: "#/components/schemas/updateRecoveryFlowWithCodeMethod"
- op: add
path: /components/schemas/recoveryFlowState
type: string
value:
title: Recovery flow state (experimental)
description: The experimental state represents the state of a recovery flow. This field is EXPERIMENTAL and subject to change!
enum:
- choose_method
- sent_email
- passed_challenge
# End
# All modifications for the verification flow
- op: remove
path: /components/schemas/updateVerificationFlowBody/type
- op: add
path: /components/schemas/updateVerificationFlowBody/oneOf
value:
- "$ref": "#/components/schemas/updateVerificationFlowWithLinkMethod"
- "$ref": "#/components/schemas/updateVerificationFlowWithCodeMethod"
- op: add
path: /components/schemas/updateVerificationFlowBody/discriminator
value:
propertyName: method
mapping:
link: "#/components/schemas/updateVerificationFlowWithLinkMethod"
code: "#/components/schemas/updateVerificationFlowWithCodeMethod"
- op: add
path: /components/schemas/verificationFlowState
type: string
value:
title: Verification flow state (experimental)
description: The experimental state represents the state of a verification flow. This field is EXPERIMENTAL and subject to change!
enum:
- choose_method
- sent_email
- passed_challenge
# End
# All modifications for the settings flow
- op: remove
path: /components/schemas/updateSettingsFlowBody/type
- op: add
path: /components/schemas/updateSettingsFlowBody/oneOf
value:
- "$ref": "#/components/schemas/updateSettingsFlowWithPasswordMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithProfileMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithOidcMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithSamlMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithTotpMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithWebAuthnMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithLookupMethod"
- "$ref": "#/components/schemas/updateSettingsFlowWithPasskeyMethod"
- op: add
path: /components/schemas/updateSettingsFlowBody/discriminator
value:
propertyName: method
mapping:
password: "#/components/schemas/updateSettingsFlowWithPasswordMethod"
profile: "#/components/schemas/updateSettingsFlowWithProfileMethod"
oidc: "#/components/schemas/updateSettingsFlowWithOidcMethod"
saml: "#/components/schemas/updateSettingsFlowWithSamlMethod"
totp: "#/components/schemas/updateSettingsFlowWithTotpMethod"
webauthn: "#/components/schemas/updateSettingsFlowWithWebAuthnMethod"
passkey: "#/components/schemas/updateSettingsFlowWithPasskeyMethod"
lookup_secret: "#/components/schemas/updateSettingsFlowWithLookupMethod"
- op: add
path: /components/schemas/settingsFlowState
value:
title: Settings flow state (experimental)
description: The experimental state represents the state of a settings flow. This field is EXPERIMENTAL and subject to change!
type: string
enum:
- show_form
- success
# end
# Some issues with AdditionalProperties
- op: remove
path: "#/components/schemas/OAuth2LoginRequest/properties/AdditionalProperties"
- op: remove
path: "#/components/schemas/OAuth2ConsentRequestOpenIDConnectContext/properties/AdditionalProperties"
- op: remove
path: "#/components/schemas/OAuth2Client/properties/AdditionalProperties"