RepositoryTypeScriptFRPháp
atinux

atinux/nuxt-auth-utils

Add Authentication to Nuxt applications with secured & sealed cookies sessions.

1.6ksao
195fork
23issue
5lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: nuxt-auth

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: nuxt-module

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: nuxt

#2 Repository Của Tuần

🔐 Thêm xác thực người dùng vào Nuxt một cách nhanh chóng với nuxt-auth-utils

Một module Nuxt nhẹ, chỉ dùng UnJS, hỗ trợ xác thực qua cookie session bảo mật & mã hoá.

Nuxt Auth Utils giúp bạn thêm hệ thống xác thực người dùng vào ứng dụng Nuxt chỉ trong vài bước cài đặt nhanh. Dựa trên cookie session được mã hoá và ký, module này hỗ trợ hơn 40 nhà cung cấp OAuth, WebAuthn (passkey), hash mật khẩu, cùng composable Vue useUserSession() để truy cập phiên người dùng từ phía client. Thiết kế nhẹ, chỉ phụ thuộc vào UnJS, chạy trên Node, Deno, Workers và được viết hoàn toàn bằng TypeScript.

✨ Điểm nổi bật

  • Hybrid Rendering: Hỗ trợ SSR, CSR, SWR và prerendering.
  • 40+ OAuth Providers: Tích hợp sẵn nhiều nhà cung cấp OAuth phổ biến.
  • Password Hashing: Hỗ trợ băm mật khẩu an toàn.
  • WebAuthn (passkey): Hỗ trợ đăng nhập bằng passkey qua WebAuthn.
  • useUserSession(): Composable Vue để truy cập trạng thái người dùng.
  • Tree-shakable server utils: Các hàm tiện ích server tự động nhúng.
  • <AuthState> component: Component Vue để kiểm tra trạng thái đăng nhập.
  • Extendable hooks: Hỗ trợ mở rộng logic phiên bản qua hook.
  • WebSocket support: Hỗ trợ xác thực trong kết nối WebSocket.

💡 Vì sao đáng chú ý

Khác với các giải pháp xác thựng phức tạp, nuxt-auth-utils tập trung vào sự đơn giản và an toàn bằng cách sử dụng cookie session được mã hoá. Phiên người dùng được lưu trữ an toàn trong cookie, chỉ chứa thông tin nhận diện cần thiết, tránh lưu dữ liệu nhạy cảm. Module còn hỗ trợ hybrid rendering linh hoạt, cho phép bạn prerender hoặc tắt SSR hoàn toàn nếu cần.


#Authentication #Nuxt #OAuth #WebAuthn #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryTypeScript
nuxt/ui

The Intuitive Vue UI Library powered by Reka UI & Tailwind CSS.

7.1k
Nov 16, 2026
RepositoryTypeScript
nuxt/content

The file-based CMS for your Nuxt application, powered by Markdown and Vue components.

3.7k
Nov 22, 2026
RepositoryTypeScript
nuxt/devtools

Unleash Nuxt Developer Experience

3.3k
Nov 19, 2026
RepositoryTypeScript
nuxt-modules/i18n

I18n module for Nuxt

2.1k
Nov 15, 2026
RepositoryTypeScript
nuxt-modules/tailwindcss

Tailwind CSS module for Nuxt

1.9k
Nov 14, 2026
RepositoryTypeScript
nuxt/image

Plug-and-play image optimization for Nuxt applications.

1.6k
Nov 22, 2026
RepositoryTypeScript
nuxt/icon

The <Icon> component, supporting Iconify, Emojis and custom components.

1.2k
Nov 18, 2026
RepositoryTypeScript
nuxt/modules

Discover the Nuxt modules to add any CMS, Database, UI, Auth and integrations into your Vue application.

1.1k
Nov 14, 2026
RepositoryTypeScript
johannschopplich/nuxt-api-party

🐬 Auto-generated composables for any API, typed from OpenAPI, with your credentials kept on the server

305
Nov 15, 2026