@betterportal/auth-authress-io 0.0.1
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/bsb-plugin.json +22 -0
- package/bsb-tests.json +14 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +2 -0
- package/lib/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/.bp-generated/registry.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-authress-io/.bp-generated/registry.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/.bp-generated/registry.js +82 -0
- package/lib/plugins/service-betterportal-auth-authress-io/.bp-generated/registry.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_background.monitor.d.ts +5 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_background.monitor.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_background.monitor.js +51 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_background.monitor.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_nav.profile.d.ts +5 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_nav.profile.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_nav.profile.js +10 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/_nav.profile.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/index.d.ts +5 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/index.js +206 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.bootstrap1/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.embedded/_background.monitor.d.ts +3 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.embedded/_background.monitor.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.embedded/_background.monitor.js +3 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/_theme.embedded/_background.monitor.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/index.d.ts +92 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/index.js +187 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/login/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/logout/index.d.ts +27 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/logout/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/logout/index.js +35 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/logout/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/refresh/index.d.ts +29 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/refresh/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/refresh/index.js +87 -0
- package/lib/plugins/service-betterportal-auth-authress-io/bp-routes/refresh/index.js.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/index.d.ts +146 -0
- package/lib/plugins/service-betterportal-auth-authress-io/index.d.ts.map +1 -0
- package/lib/plugins/service-betterportal-auth-authress-io/index.js +366 -0
- package/lib/plugins/service-betterportal-auth-authress-io/index.js.map +1 -0
- package/lib/schemas/service-betterportal-auth-authress-io.json +139 -0
- package/lib/schemas/service-betterportal-auth-authress-io.plugin.json +151 -0
- package/package.json +66 -0
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "service-betterportal-auth-authress-io",
|
|
3
|
+
"name": "service.betterportal.auth.authress-io",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"description": "BetterPortal Authress.io auth service",
|
|
6
|
+
"category": "service",
|
|
7
|
+
"tags": [
|
|
8
|
+
"betterportal",
|
|
9
|
+
"auth",
|
|
10
|
+
"authress"
|
|
11
|
+
],
|
|
12
|
+
"documentation": [
|
|
13
|
+
"./README.md"
|
|
14
|
+
],
|
|
15
|
+
"dependencies": [],
|
|
16
|
+
"author": "BetterCorp",
|
|
17
|
+
"license": "(AGPL-3.0-only OR Commercial)",
|
|
18
|
+
"configSchema": {
|
|
19
|
+
"anyvaliVersion": "1.0",
|
|
20
|
+
"schemaVersion": "1.1",
|
|
21
|
+
"root": {
|
|
22
|
+
"kind": "object",
|
|
23
|
+
"properties": {
|
|
24
|
+
"host": {
|
|
25
|
+
"kind": "string",
|
|
26
|
+
"minLength": 1,
|
|
27
|
+
"default": "0.0.0.0"
|
|
28
|
+
},
|
|
29
|
+
"port": {
|
|
30
|
+
"kind": "int",
|
|
31
|
+
"min": 1,
|
|
32
|
+
"default": 3211
|
|
33
|
+
},
|
|
34
|
+
"issuer": {
|
|
35
|
+
"kind": "string",
|
|
36
|
+
"minLength": 1,
|
|
37
|
+
"default": "https://authress.betterportal.local"
|
|
38
|
+
},
|
|
39
|
+
"audience": {
|
|
40
|
+
"kind": "string",
|
|
41
|
+
"minLength": 1,
|
|
42
|
+
"default": "betterportal-runtime"
|
|
43
|
+
},
|
|
44
|
+
"accessTokenSeconds": {
|
|
45
|
+
"kind": "int",
|
|
46
|
+
"min": 1,
|
|
47
|
+
"default": 900
|
|
48
|
+
},
|
|
49
|
+
"refreshTokenSeconds": {
|
|
50
|
+
"kind": "int",
|
|
51
|
+
"min": 1,
|
|
52
|
+
"default": 604800
|
|
53
|
+
},
|
|
54
|
+
"keyStorePath": {
|
|
55
|
+
"kind": "string",
|
|
56
|
+
"minLength": 1,
|
|
57
|
+
"default": "./.bp-authress-state/keys.json"
|
|
58
|
+
},
|
|
59
|
+
"betterportal": {
|
|
60
|
+
"kind": "optional",
|
|
61
|
+
"inner": {
|
|
62
|
+
"kind": "object",
|
|
63
|
+
"properties": {
|
|
64
|
+
"bpConfigPath": {
|
|
65
|
+
"kind": "optional",
|
|
66
|
+
"inner": {
|
|
67
|
+
"kind": "string",
|
|
68
|
+
"minLength": 1
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"configApiToken": {
|
|
72
|
+
"kind": "optional",
|
|
73
|
+
"inner": {
|
|
74
|
+
"kind": "string",
|
|
75
|
+
"minLength": 1
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"configEncryptionKey": {
|
|
79
|
+
"kind": "optional",
|
|
80
|
+
"inner": {
|
|
81
|
+
"kind": "string",
|
|
82
|
+
"minLength": 16
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"controlPlaneUrl": {
|
|
86
|
+
"kind": "optional",
|
|
87
|
+
"inner": {
|
|
88
|
+
"kind": "string",
|
|
89
|
+
"minLength": 1
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"serviceApiKey": {
|
|
93
|
+
"kind": "optional",
|
|
94
|
+
"inner": {
|
|
95
|
+
"kind": "string",
|
|
96
|
+
"minLength": 1
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"bootstrapStatePath": {
|
|
100
|
+
"kind": "string",
|
|
101
|
+
"minLength": 1,
|
|
102
|
+
"default": "./.bp-bootstrap/state.enc"
|
|
103
|
+
},
|
|
104
|
+
"scopedConfigCachePath": {
|
|
105
|
+
"kind": "string",
|
|
106
|
+
"minLength": 1,
|
|
107
|
+
"default": "./.bp-sync-cache/scoped.json"
|
|
108
|
+
},
|
|
109
|
+
"trustedProxyHeaders": {
|
|
110
|
+
"kind": "bool",
|
|
111
|
+
"default": false
|
|
112
|
+
},
|
|
113
|
+
"cfProxy": {
|
|
114
|
+
"kind": "bool",
|
|
115
|
+
"default": false
|
|
116
|
+
},
|
|
117
|
+
"trustedProxyIps": {
|
|
118
|
+
"kind": "array",
|
|
119
|
+
"items": {
|
|
120
|
+
"kind": "string",
|
|
121
|
+
"minLength": 1
|
|
122
|
+
},
|
|
123
|
+
"default": []
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"required": [
|
|
127
|
+
"bootstrapStatePath",
|
|
128
|
+
"scopedConfigCachePath",
|
|
129
|
+
"trustedProxyHeaders",
|
|
130
|
+
"cfProxy",
|
|
131
|
+
"trustedProxyIps"
|
|
132
|
+
],
|
|
133
|
+
"unknownKeys": "strip"
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": [
|
|
138
|
+
"host",
|
|
139
|
+
"port",
|
|
140
|
+
"issuer",
|
|
141
|
+
"audience",
|
|
142
|
+
"accessTokenSeconds",
|
|
143
|
+
"refreshTokenSeconds",
|
|
144
|
+
"keyStorePath"
|
|
145
|
+
],
|
|
146
|
+
"unknownKeys": "strip"
|
|
147
|
+
},
|
|
148
|
+
"definitions": {},
|
|
149
|
+
"extensions": {}
|
|
150
|
+
}
|
|
151
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@betterportal/auth-authress-io",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "BetterPortal Authress.io auth service for Node.js",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "src/index.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"bp-codegen": "bp-codegen",
|
|
9
|
+
"build": "bsb-plugin-cli build",
|
|
10
|
+
"clean": "bsb-plugin-cli clean",
|
|
11
|
+
"start": "bsb-plugin-cli start",
|
|
12
|
+
"dev": "bsb-plugin-cli dev",
|
|
13
|
+
"test": "tsx --test tests/*.test.ts",
|
|
14
|
+
"prepublishOnly": "npm run build"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"betterportal",
|
|
18
|
+
"auth",
|
|
19
|
+
"authress",
|
|
20
|
+
"platform-service"
|
|
21
|
+
],
|
|
22
|
+
"author": "BetterCorp",
|
|
23
|
+
"license": "(AGPL-3.0-only OR Commercial)",
|
|
24
|
+
"type": "module",
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@bsb/base": "^9.5.0",
|
|
27
|
+
"@types/node": "^24.12.2",
|
|
28
|
+
"tsx": "^4.21.0",
|
|
29
|
+
"typescript": "^5.9.3"
|
|
30
|
+
},
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@betterportal/framework": "0.0.1",
|
|
33
|
+
"@betterportal/plugin-bsb": "0.0.1",
|
|
34
|
+
"anyvali": "^1.0.6",
|
|
35
|
+
"jsonwebtoken": "^9.0.2",
|
|
36
|
+
"jsx-htmx": "4.0.0-beta2"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"lib/**/*",
|
|
40
|
+
"README.md",
|
|
41
|
+
"bsb-plugin.json",
|
|
42
|
+
"bsb-tests.json"
|
|
43
|
+
],
|
|
44
|
+
"bsb": {
|
|
45
|
+
"hooks": {
|
|
46
|
+
"afterSchemas": "bp-codegen"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"betterportal": {
|
|
50
|
+
"routes": [
|
|
51
|
+
"src/plugins/service-betterportal-auth-authress-io/bp-routes/"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"repository": {
|
|
55
|
+
"type": "git",
|
|
56
|
+
"url": "git+https://github.com/BetterCorp/BetterPortal.git",
|
|
57
|
+
"directory": "services/nodejs/auth-authress-io"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"homepage": "https://github.com/BetterCorp/BetterPortal#readme",
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/BetterCorp/BetterPortal/issues"
|
|
65
|
+
}
|
|
66
|
+
}
|