Nuxt Oidc Auth

screenshot of Nuxt Oidc Auth
nuxt
vue

OIDC (OpenID connect) focused auth module for Nuxt

Overview

Nuxt OIDC Auth is a Nuxt module designed for native OIDC-based authentication, providing a high level of customization and security for SSR applications. This module stands out for its focus on native OIDC with minimal external dependencies, ensuring a secure authentication process. It offers various features such as secured cookie sessions, OpenID Connect provider configuration, support for multiple providers, and server-side token storage.

Features

  • Secured & sealed cookies sessions: Ensures secure sessions through encrypted cookies.
  • Generic spec compliant OpenID connect provider: Fully configurable OIDC flow with state, nonce, PKCE, and token request.
  • Presets for popular OIDC providers: Offers presets for easy configuration with popular OIDC providers.
  • Multi-provider support: Automatically registers routes for different providers for login, logout, and callback.
  • useOidcAuth composable: Facilitates user information retrieval, login/logout actions, session refreshing, and token refresh triggering.
  • Encrypted server-side refresh/access token storage: Utilizes unstorage for secure token storage on the server side.
  • Optional global middleware: Provides automatic redirection to default provider or custom login page.
  • Optional token validation and session expiration checking.
nuxt
Nuxt

nuxt.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

vue
Vue

Vue.js is a lightweight and flexible JavaScript framework that allows developers to easily build dynamic and reactive user interfaces. Its intuitive syntax, modular architecture, and focus on performance make it a popular choice for modern web development.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.