Authentication Demo

Sign in with Apple to see the library in action

About This Demo

This demo showcases @sidebase/nuxt-auth, a powerful authentication module for Nuxt 3+ that wraps Auth.js (formerly NextAuth.js).

OAuth 2.0 / OpenID Connect
Session Management
Route Protection
TypeScript Support

Key Features

  • useAuth() composable for reactive auth state
  • signIn() and signOut() methods
  • Middleware for route protection
  • Session data with user info
  • Multiple providers support (OAuth, Email, etc.)
  • Secure cookies with CSRF protection

Current Status

Auth Status: loading
Session: Loading...