This package contains the Next.js SDK for Ory. It provides a set of React components, server-side components, and hooks to interact with the Ory ecosystem.
Supports both app and page routers.
Run npm install @ory/nextjs
or yarn add @ory/nextjs
to install the package.
See the examples directory for examples on how to use the package.
This package is built using Nx.
Run nx build @ory/nextjs
to build the library.
Run nx dev @ory/nextjs
to watch the source code for changes and continuously
build the library.
Run nx test @ory/nextjs
to execute the unit tests via
Jest.