@baseplate-dev/plugin-auth 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/package.json +12 -11
package/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @baseplate-dev/plugin-auth
|
|
2
|
+
|
|
3
|
+
This plugin provides authentication capabilities for Baseplate projects, including both local authentication and Auth0 integration.
|
|
4
|
+
|
|
5
|
+
## Purpose
|
|
6
|
+
|
|
7
|
+
The plugin-auth package provides:
|
|
8
|
+
|
|
9
|
+
- Multiple authentication strategies (local auth and Auth0)
|
|
10
|
+
- User session management via cookies
|
|
11
|
+
- Role-based access control (RBAC)
|
|
12
|
+
- Authentication UI components
|
|
13
|
+
- Backend authentication middleware
|
|
14
|
+
- User management interfaces
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
- **Local Authentication**: Email/password authentication with session management
|
|
19
|
+
- **Auth0 Integration**: Full Auth0 authentication flow with callback handling
|
|
20
|
+
- **Role Management**: Define and manage user roles and permissions
|
|
21
|
+
- **Session Handling**: Secure cookie-based sessions with CSRF protection
|
|
22
|
+
- **React Components**: Pre-built authentication UI components
|
|
23
|
+
- **GraphQL Integration**: Authentication queries and mutations
|
|
24
|
+
|
|
25
|
+
## Part of Baseplate Monorepo
|
|
26
|
+
|
|
27
|
+
This package is part of the Baseplate monorepo and extends Baseplate projects with comprehensive authentication functionality.
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baseplate-dev/plugin-auth",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Contains the auth plugin for Baseplate",
|
|
5
|
+
"homepage": "https://www.baseplate.dev",
|
|
5
6
|
"repository": "https://github.com/halfdomelabs/baseplate",
|
|
6
|
-
"license": "
|
|
7
|
+
"license": "MPL-2.0",
|
|
7
8
|
"author": "Half Dome Labs LLC",
|
|
8
9
|
"type": "module",
|
|
9
10
|
"imports": {
|
|
@@ -24,10 +25,10 @@
|
|
|
24
25
|
"react-hook-form": "7.56.3",
|
|
25
26
|
"react-icons": "5.5.0",
|
|
26
27
|
"zod": "3.24.1",
|
|
27
|
-
"@baseplate-dev/core-generators": "0.1.
|
|
28
|
-
"@baseplate-dev/fastify-generators": "0.1.
|
|
29
|
-
"@baseplate-dev/react-generators": "0.1.
|
|
30
|
-
"@baseplate-dev/ui-components": "0.1.
|
|
28
|
+
"@baseplate-dev/core-generators": "0.1.2",
|
|
29
|
+
"@baseplate-dev/fastify-generators": "0.1.2",
|
|
30
|
+
"@baseplate-dev/react-generators": "0.1.2",
|
|
31
|
+
"@baseplate-dev/ui-components": "0.1.2"
|
|
31
32
|
},
|
|
32
33
|
"devDependencies": {
|
|
33
34
|
"@originjs/vite-plugin-federation": "1.3.6",
|
|
@@ -44,13 +45,13 @@
|
|
|
44
45
|
"typescript": "5.7.3",
|
|
45
46
|
"vite": "6.3.5",
|
|
46
47
|
"vitest": "3.0.7",
|
|
47
|
-
"@baseplate-dev/project-builder-lib": "0.1.
|
|
48
|
-
"@baseplate-dev/sync": "0.1.
|
|
49
|
-
"@baseplate-dev/tools": "0.1.
|
|
48
|
+
"@baseplate-dev/project-builder-lib": "0.1.2",
|
|
49
|
+
"@baseplate-dev/sync": "0.1.2",
|
|
50
|
+
"@baseplate-dev/tools": "0.1.2"
|
|
50
51
|
},
|
|
51
52
|
"peerDependencies": {
|
|
52
|
-
"@baseplate-dev/project-builder-lib": "0.1.
|
|
53
|
-
"@baseplate-dev/sync": "0.1.
|
|
53
|
+
"@baseplate-dev/project-builder-lib": "0.1.2",
|
|
54
|
+
"@baseplate-dev/sync": "0.1.2"
|
|
54
55
|
},
|
|
55
56
|
"engines": {
|
|
56
57
|
"node": "^22.0.0"
|