@baseplate-dev/plugin-auth
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

@baseplate-dev/plugin-auth

This plugin provides authentication capabilities for Baseplate projects, including both local authentication and Auth0 integration.

Purpose

The plugin-auth package provides:

  • Multiple authentication strategies (local auth and Auth0)
  • User session management via cookies
  • Role-based access control (RBAC)
  • Authentication UI components
  • Backend authentication middleware
  • User management interfaces

Features

  • Local Authentication: Email/password authentication with session management
  • Auth0 Integration: Full Auth0 authentication flow with callback handling
  • Role Management: Define and manage user roles and permissions
  • Session Handling: Secure cookie-based sessions with CSRF protection
  • React Components: Pre-built authentication UI components
  • GraphQL Integration: Authentication queries and mutations

Part of Baseplate Monorepo

This package is part of the Baseplate monorepo and extends Baseplate projects with comprehensive authentication functionality.

Package Sidebar

Install

npm i @baseplate-dev/plugin-auth

Weekly Downloads

184

Version

1.0.5

License

MPL-2.0

Unpacked Size

8.33 MB

Total Files

702

Last publish

Collaborators

  • kingtam2000