{"repo":"productdevbook/nuxt-keycloak","free":true,"listed":false,"github":"https://github.com/productdevbook/nuxt-keycloak","clone":"git clone https://github.com/productdevbook/nuxt-keycloak.git","description":"Comprehensive Keycloak authentication module for Nuxt 4 with SSR support, auto token refresh, role-based guards, and TypeScript.","language":"TypeScript","stars":18,"topics":["keycloak","keycloak-client","keycloak-js","nuxt"],"license":null,"category":"auth-billing-email","readme_excerpt":"Nuxt Keycloak [![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href] [![Nuxt][nuxt-src]][nuxt-href] Comprehensive Keycloak authentication module for Nuxt 4 with SSR support, auto token refresh, role-based guards, and TypeScript. - ✨ &nbsp;Release Notes Features - 🔐 Hybrid Authentication - Support for both client-side (SPA) and server-side rendering (SSR) modes - 🔄 Auto Token Refresh - Automatically refresh access tokens before expiration - 🛡️ Role-Based Guards - Protect routes with realm and client/resource roles - 📘 TypeScript Support - Full type safety with comprehensive TypeScript definitions - 🔍 Silent Check-SSO - Non-intrusive authentication check for optional auth (auto-generated HTML file) - 🔑 JWT Verification - Secure server-side token validation using JWKS with jose - ⚙️ Configurable - Every feature can be toggled via configuration - 🎯 Production Ready - Error handling, logging, and security best practices - 🚀 Zero Config - Silent Check-SSO HTML automatically generated in public directory Quick Setup 1. Install the module: 2. Add nuxt-keycloak to the modules section of nuxt.config.ts : 3. Configure environment variables (optional): That's it! You can now use Keycloak authentication in your Nuxt app ✨ Usage Basic Authentication Use the useKeycloak() composable in your components: Protecting Pages Protect entire pages by adding middleware: Role-Based Access Control Pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/productdevbook","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/productdevbook/nuxt-keycloak/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}