The Logto Nuxt 3 SDK written in TypeScript.
Check out our docs for more information.
npm install @logto/nuxt
yarn add @logto/nuxt
pnpm add @logto/nuxt
A sample project can be found at playground.
Check out the full JS repo and try it with pnpm.
pnpm i && pnpm dev
The minimal configuration to run the playground is (use .env
file for example):
NUXT_LOGTO_ENDPOINT=<your-logto-endpoint>
NUXT_LOGTO_APP_ID=<your-logto-app-id>
NUXT_LOGTO_APP_SECRET=<your-logto-app-secret>
NUXT_LOGTO_COOKIE_ENCRYPTION_KEY=<random-string>