itpropro/nuxt-oidc-auth
itpropro/nuxt-oidc-auth has 169 GitHub stars and 50 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 13:43 UTC. Last push 2026-11-04.
OIDC (OpenID connect) focused auth module for Nuxt
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalNuxt OIDC Auth
Welcome to Nuxt OIDC Auth, a Nuxt module focusing on native OIDC (OpenID Connect) based authentication for Nuxt with a high level of customizability and security for SSR applications.
This module doesn't use any external dependencies outside of the unjs ecosystem except for token validation (the well known and tested jose library for JWT interactions).
Features
↩️ Automatic session and token renewal
💾 Encrypted server side refresh/access token storage powered by Nitro storage
🔑 Token validation
🔒 Secured & sealed cookies sessions
⚙️ Presets for popular OIDC providers
📤 Global or per-page middleware with automatic redirection to default provider or a custom login page (see playground)
👤 useOidcAuth composable for getting the user information, logging in and out, refetching the current session and triggering a token refresh
🗂️ Multi provider support with auto registered routes (/auth/<provider>/login, /auth/<provider>/logout, /auth/<provider>/callback)
📝 Generic spec OpenID compatible connect provider with fully configurable OIDC flow (state, nonce, PKCE, token request, ...)
🕙 Session expiration check
Installation
Add nuxt-oidc-auth dependency to your project
With nuxi
pnpm dlx nuxi@latest module add nuxt-oidc-auth
or manually
pnpm add nuxt-oidc-auth
Add nuxt-oidc-auth to the modules section of nuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-oidc-auth'],
})
⚠️ Disclaimer
This module is still in development, feedback and contributions are welcome! Use at your own risk.
Explore related projects
trimstray/the-book-of-secret-knowledge
A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.
257,216 starsHack-with-Github/Awesome-Hacking
A collection of various awesome lists for hackers, pentesters and security researchers
125,103 starsswisskyrepo/PayloadsAllTheThings
A list of useful payloads and bypass for Web Application Security and Pentest/CTF
82,508 starscaddyserver/caddy
Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
78,910 stars