Official Zitadel auth integration for Astro.
https://www.npmjs.com/package/@zitadel/astro-auth ↗// readme
Astro Auth
An Astro integration for auth that provides seamless authentication with multiple providers, session management, and UI primitives that feel natural in Astro.
This integration brings the power and flexibility of OAuth to Astro applications with full TypeScript support, SSR-friendly HTTP handling, and Astro-native patterns including integrations, endpoints, and components.
Why?
Modern web applications require robust, secure, and flexible authentication systems. Integrating OAuth and session management with Astro applications requires careful consideration of framework patterns, server-side rendering, and TypeScript integration.
However, a direct integration isn’t always straightforward. Different types of applications or deployment scenarios might warrant different approaches:
- Framework Integration: OAuth and auth flows operate at the HTTP level, while Astro uses integrations, endpoints, and components. A proper integration should bridge this gap by providing Astro-native primitives for authentication and authorization while maintaining the full OAuth provider ecosystem compatibility.
- HTTP Request Handling: Astro’s…