Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.
/ nuxt-kinde Public archive
forked from nuxt-modules/kinde

Kinde integration for Nuxt

Notifications You must be signed in to change notification settings

kinde-oss/nuxt-kinde

 
 

Repository files navigation

Nuxt Kinde

npm version npm downloads License Nuxt

Kinde integration for Nuxt.

Quick Setup

  1. Add @nuxtjs/kinde dependency to your project
# Using pnpm
pnpm add -D @nuxtjs/kinde

# Using yarn
yarn add --dev @nuxtjs/kinde

# Using npm
npm install --save-dev @nuxtjs/kinde
  1. Add @nuxtjs/kinde to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxtjs/kinde'],
})

Add the following configuration to your .env file replacing the values in < > with your Kinde credentials.

NUXT_KINDE_AUTH_DOMAIN="https://<your_kinde_subdomain>.kinde.com"
NUXT_KINDE_CLIENT_ID="<your_kinde_client_id>"
NUXT_KINDE_CLIENT_SECRET="<your_kinde_client_secret>"
NUXT_KINDE_REDIRECT_URL="http://localhost:3000/api/callback"
NUXT_KINDE_LOGOUT_REDIRECT_URL="http://localhost:3000"
NUXT_KINDE_POST_LOGIN_REDIRECT_URL="http://localhost:3000/dashboard"

That's it! You can now use Nuxt Kinde in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

About

Kinde integration for Nuxt

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.0%
  • CSS 30.7%
  • Vue 17.6%
  • JavaScript 0.7%