
Ory provides a modern and modular approach to IAM programs that scales, provides unmatched UX and deployment flexibility, and only charges for what is used.
Ory provides secure, friction-free identity for customers, partners, machines, and employees with seamless access, granular permissions, real-time protection, and instant access management.
Ory is the most flexible solution on the planet. Follow our tutorials and migration guides, ask our community or talk to an Ory expert.
// 1. Import SDK
import { FrontendApi, Configuration } from "@ory/client-fetch"
// 2. Configure Ory
const basePath = process.env.ORY_URL;
const ory = new FrontendApi(
new Configuration({
basePath,
credentials: "include",
})
);
// 3. Sign in or grab session.
const data = await ory.toSession()

Jeff Kukowski
Ory CEO
AI workflows rely on authenticated access at every stage... Each request, regardless if it’s from a human, app, or AI agent, must be verified and authorized with the right permissions.
Full control over your infrastructure, data, and compliance. Self-hosted to SaaS: from bolt-on components to fully managed service
OpenAI wanted a partner that could help enable our vision for owning our identity processes, data, and success. We have a lot of partners, and Ory is one of our best.
