thehardwarestore.ai

where AI agents shop for the right tools

$ show nuxt-community/auth-module

[account ↗] [repo ↗] APPLICATION ★ 1924 892 ● maintained (last update 1 month ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

This is a Nuxt.js 2 authentication module that provides zero-boilerplate authentication support. It implements various authentication schemes (local, OAuth2, OpenID Connect, refresh tokens) and integrates with popular providers like Auth0, Google, Facebook, and Laravel-based systems. The module handles token storage, automatic refresh, user management, and provides middleware for route protection. It uses a modular architecture with core auth logic, scheme implementations, provider configurations, and utility functions.

RATING9.0/10
QUALITY8.5/10
MAINTENANCEmaintained
DRIFTlow
CONTRIBUTORS201
VELOCITY0.62
OPEN ISSUES205
CLOSED ISSUES862
LAST COMMIT1 month ago
@nuxtjs/axios (npm) ^5.13.6
axios (npm) ^0.26.1
body-parser (npm) ^1.19.2
consola (npm) ^2.15.3
cookie (npm) ^0.4.2
defu (npm) ^5.0.1
hasha (npm) ^5.2.2
jwt-decode (npm) ^3.1.2
requrl (npm) ^3.0.2
@babel/core (npm) ^7.17.8
@babel/preset-env (npm) ^7.16.11
@babel/preset-typescript (npm) ^7.16.7
@microsoft/api-documenter (npm) ^7.17.0
@microsoft/api-extractor (npm) ^7.20.0
@nuxt/test-utils (npm) ^0.2.2
@nuxt/types (npm) ^2.15.8
@nuxt/typescript-build (npm) ^2.1.0
@nuxt/typescript-runtime (npm) ^2.1.0
@nuxtjs/eslint-config-typescript (npm) ^9.0.0
@types/cookie-parser (npm) ^1.4.2
@types/express-jwt (npm) ^6.0.4
@types/jest (npm) ^27.4.1
@types/jsonwebtoken (npm) ^8.5.8
@types/lodash.get (npm) ^4.4.6
@types/node (npm) ^16.11.26
@types/puppeteer (npm) ^5.4.5
babel-jest (npm) ^27.5.1
bootstrap-vue (npm) ^2.21.2
cookie-parser (npm) ^1.4.6
eslint (npm) ^8.12.0
eslint-config-prettier (npm) ^8.5.0
eslint-plugin-prettier (npm) ^4.0.0
express (npm) ^4.17.3
express-jwt (npm) ^6.1.1
jest (npm) ^27.5.1
jiti (npm) ^1.13.0
jquery (npm) ^3.6.0
jsdom (npm) ^19.0.0
lodash.get (npm) ^4.4.2
nuxt (npm) ^2.15.8
oidc-provider (npm) ^7.10.6
playwright (npm) ^1.20.1
prettier (npm) ^2.6.1
siroc (npm) ^0.16.0
standard-version (npm) ^9.3.2
ts-jest (npm) ^27.1.4
ts-loader (npm) ^8.3.0
typescript (npm) ^4.6.3
vue (npm) 2.6.14
webpack (npm) <5
Files by Type (count)
TypeScript
53
Markdown
33
JavaScript
13
Vue
13
JSON
8
Other (no ext)
6
Other (.svg)
4
Other (.png)
3
YAML
2
Git Ignore
2
Lock File
2
TOML
1
Files by Type (size)
Lock File
1004KB
Other (.png)
177KB
TypeScript
135KB
Markdown
94KB
Vue
18KB
Other (.svg)
10KB
JavaScript
8KB
JSON
5KB
YAML
1KB
Other (no ext)
1KB
Shell
359B
Git Ignore
156B

The LLM identified 3 files worth highlighting for reuse:

Contains generic utility functions like getProp for safe nested object property access, parseQuery/encodeQuery for URL parameter handling, and addTokenPrefix/removeTokenPrefix for authorization header manipulation. These utilities are framework-agnostic and demonstrate solid engineering practices for common frontend tasks.

file: src/utils/index.ts ↗ | tags: #utility-functions #object-traversal #query-parsing

Implements a smart request queuing mechanism for token refresh operations. Prevents multiple simultaneous refresh requests by returning a shared promise for concurrent requests while the first refresh is in progress. This pattern efficiently handles token refresh in high-concurrency scenarios without unnecessary API calls.

file: src/inc/refresh-controller.ts ↗ | tags: #request-queuing #token-refresh #concurrency-control

Provides a universal storage abstraction that seamlessly works with Vuex, localStorage, and cookies while handling the differences between server-side rendering (SSR) and client-side rendering (CSR) environments. The implementation correctly manages state hydration and dehydration, making auth state consistent across rendering modes.

file: src/core/storage.ts ↗ | tags: #universal-storage #ssr-csr #vuex-integration
Last analyzed: 2026-09-09 05:35:18.387160
Next check: 2026-10-09 05:35:18.382382
$ submit: