Installation
logto-authkit is available as a single npm package that includes both frontend and server features.Install the package
Peer dependencies
logto-authkit requires the following peer dependencies for frontend features:@logto/react- ^3.0.0 || ^4.0.0react- ^17.0.0 || ^19.0.0react-dom- ^17.0.0 || ^19.0.0
Server features work independently and don’t require React dependencies.
Package exports
logto-authkit provides three main exports:Main entry (frontend)
Server entry
Bundler config entry
TypeScript support
logto-authkit is written in TypeScript and provides comprehensive type definitions out of the box.Next steps
Quick start
Get up and running with authentication in minutes