Install auth-astro
mainYou can install auth-astro using the Astro CLI, which automatically handles package installation and integration configuration, or manually.
Using Astro CLI (Recommended)
npm run astro add auth-astroManual Installation
Install the core packages:
npm install auth-astro@latest @auth/core@^0.18.6Note for pnpm users: You must also install the cookie package:
pnpm i cookieAfter manual installation, you must add the integration to your astro.config.mjs by importing it and adding it to the integrations array.