Skip to main content

Software Development Kit (SDK)

The Ory Kratos SDK allows for integration with a self-hosted Ory Kratos Identity Server.

Before using the SDK, consult the Ory Kratos REST API documentation, which includes code samples and examples for various programming languages.

To view the source code for the generated SDKs, visit the Ory Kratos SDKs GitHub repository.

info

The ory-client SDK works with self-hosted Ory services, but due to different release cycles it is recommended to use kratos-client with self-hosted Ory Kratos.

Download the SDK

Ory publishes SDKs for popular languages in their respective package repositories:

tip

Missing your programming language?
Create an issue and help the Ory team build, test, and publish the SDK for your programming language!

SDK backward compatibility

The Ory SDK uses automated code generation by openapi-generator. openapi-generator can make changes to the generated code with each new version, which breaks backwards compatibility in some cases. As a result, Ory SDK may not be compatible with previous versions.