@acmekit/auth-emailpass 2.13.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/README.md ADDED
File without changes
@@ -0,0 +1,3 @@
1
+ declare const _default: import("@acmekit/types").ModuleProviderExports;
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAKA,wBAEE"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const utils_1 = require("@acmekit/framework/utils");
4
+ const emailpass_1 = require("./services/emailpass");
5
+ const services = [emailpass_1.EmailPassAuthService];
6
+ exports.default = (0, utils_1.ModuleProvider)(utils_1.Modules.AUTH, {
7
+ services,
8
+ });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,oDAAkE;AAClE,oDAA2D;AAE3D,MAAM,QAAQ,GAAG,CAAC,gCAAoB,CAAC,CAAA;AAEvC,kBAAe,IAAA,sBAAc,EAAC,eAAO,CAAC,IAAI,EAAE;IAC1C,QAAQ;CACT,CAAC,CAAA"}
@@ -0,0 +1,36 @@
1
+ import { AuthenticationInput, AuthenticationResponse, AuthIdentityProviderService, EmailPassAuthProviderOptions, Logger } from "@acmekit/framework/types";
2
+ import { AbstractAuthModuleProvider } from "@acmekit/framework/utils";
3
+ type InjectedDependencies = {
4
+ logger: Logger;
5
+ };
6
+ interface LocalServiceConfig extends EmailPassAuthProviderOptions {
7
+ }
8
+ export declare class EmailPassAuthService extends AbstractAuthModuleProvider {
9
+ static identifier: string;
10
+ static DISPLAY_NAME: string;
11
+ protected config_: LocalServiceConfig;
12
+ protected logger_: Logger;
13
+ constructor({ logger }: InjectedDependencies, options: EmailPassAuthProviderOptions);
14
+ protected hashPassword(password: string): Promise<string>;
15
+ update(data: {
16
+ password: string;
17
+ entity_id: string;
18
+ }, authIdentityService: AuthIdentityProviderService): Promise<{
19
+ success: boolean;
20
+ error?: undefined;
21
+ authIdentity?: undefined;
22
+ } | {
23
+ success: boolean;
24
+ error: any;
25
+ authIdentity?: undefined;
26
+ } | {
27
+ success: boolean;
28
+ authIdentity: any;
29
+ error?: undefined;
30
+ }>;
31
+ authenticate(userData: AuthenticationInput, authIdentityService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
32
+ register(userData: AuthenticationInput, authIdentityService: AuthIdentityProviderService): Promise<AuthenticationResponse>;
33
+ private upsertAuthIdentity;
34
+ }
35
+ export {};
36
+ //# sourceMappingURL=emailpass.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emailpass.d.ts","sourceRoot":"","sources":["../../src/services/emailpass.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,sBAAsB,EAEtB,2BAA2B,EAC3B,4BAA4B,EAC5B,MAAM,EACP,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,0BAA0B,EAA2B,MAAM,0BAA0B,CAAA;AAI9F,KAAK,oBAAoB,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAQD,UAAU,kBAAmB,SAAQ,4BAA4B;CAAG;AAEpE,qBAAa,oBAAqB,SAAQ,0BAA0B;IAClE,MAAM,CAAC,UAAU,SAAc;IAC/B,MAAM,CAAC,YAAY,SAAkC;IAErD,SAAS,CAAC,OAAO,EAAE,kBAAkB,CAAA;IACrC,SAAS,CAAC,OAAO,EAAE,MAAM,CAAA;gBAGvB,EAAE,MAAM,EAAE,EAAE,oBAAoB,EAChC,OAAO,EAAE,4BAA4B;cAQvB,YAAY,CAAC,QAAQ,EAAE,MAAM;IAMvC,MAAM,CACV,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAC7C,mBAAmB,EAAE,2BAA2B;;;;;;;;;;;;;IAmC5C,YAAY,CAChB,QAAQ,EAAE,mBAAmB,EAC7B,mBAAmB,EAAE,2BAA2B,GAC/C,OAAO,CAAC,sBAAsB,CAAC;IA+D5B,QAAQ,CACZ,QAAQ,EAAE,mBAAmB,EAC7B,mBAAmB,EAAE,2BAA2B,GAC/C,OAAO,CAAC,sBAAsB,CAAC;YA0DpB,kBAAkB;CAsBjC"}
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.EmailPassAuthService = void 0;
7
+ const utils_1 = require("@acmekit/framework/utils");
8
+ const scrypt_kdf_1 = __importDefault(require("scrypt-kdf"));
9
+ const utils_2 = require("@acmekit/utils");
10
+ class EmailPassAuthService extends utils_1.AbstractAuthModuleProvider {
11
+ constructor({ logger }, options) {
12
+ // @ts-ignore
13
+ super(...arguments);
14
+ this.config_ = options;
15
+ this.logger_ = logger;
16
+ }
17
+ async hashPassword(password) {
18
+ const hashConfig = this.config_.hashConfig ?? { logN: 15, r: 8, p: 1 };
19
+ const passwordHash = await scrypt_kdf_1.default.kdf(password, hashConfig);
20
+ return passwordHash.toString("base64");
21
+ }
22
+ async update(data, authIdentityService) {
23
+ const { password, entity_id } = data ?? {};
24
+ if (!entity_id) {
25
+ return {
26
+ success: false,
27
+ error: `Cannot update ${this.provider} provider identity without entity_id`,
28
+ };
29
+ }
30
+ if (!password || !(0, utils_1.isString)(password)) {
31
+ return { success: true };
32
+ }
33
+ let authIdentity;
34
+ try {
35
+ const passwordHash = await this.hashPassword(password);
36
+ authIdentity = await authIdentityService.update(entity_id, {
37
+ provider_metadata: {
38
+ password: passwordHash,
39
+ },
40
+ });
41
+ }
42
+ catch (error) {
43
+ return { success: false, error: error.message };
44
+ }
45
+ return {
46
+ success: true,
47
+ authIdentity,
48
+ };
49
+ }
50
+ async authenticate(userData, authIdentityService) {
51
+ const { email, password } = userData.body ?? {};
52
+ if (!password || !(0, utils_1.isString)(password)) {
53
+ return {
54
+ success: false,
55
+ error: "Password should be a string",
56
+ };
57
+ }
58
+ if (!email || !(0, utils_1.isString)(email)) {
59
+ return {
60
+ success: false,
61
+ error: "Email should be a string",
62
+ };
63
+ }
64
+ let authIdentity;
65
+ try {
66
+ authIdentity = await authIdentityService.retrieve({
67
+ entity_id: email,
68
+ });
69
+ }
70
+ catch (error) {
71
+ if (error.type === utils_1.AcmeKitError.Types.NOT_FOUND) {
72
+ return {
73
+ success: false,
74
+ error: "Invalid email or password",
75
+ };
76
+ }
77
+ return { success: false, error: error.message };
78
+ }
79
+ const providerIdentity = authIdentity.provider_identities?.find((pi) => pi.provider === this.provider);
80
+ const passwordHash = providerIdentity.provider_metadata?.password;
81
+ if ((0, utils_1.isString)(passwordHash)) {
82
+ const buf = Buffer.from(passwordHash, "base64");
83
+ const success = await scrypt_kdf_1.default.verify(buf, password);
84
+ if (success) {
85
+ const copy = JSON.parse(JSON.stringify(authIdentity));
86
+ const providerIdentity = copy.provider_identities?.find((pi) => pi.provider === this.provider);
87
+ delete providerIdentity.provider_metadata?.password;
88
+ return {
89
+ success,
90
+ authIdentity: copy,
91
+ };
92
+ }
93
+ }
94
+ return {
95
+ success: false,
96
+ error: "Invalid email or password",
97
+ };
98
+ }
99
+ async register(userData, authIdentityService) {
100
+ const { email, password } = userData.body ?? {};
101
+ if (!password || !(0, utils_1.isString)(password)) {
102
+ return {
103
+ success: false,
104
+ error: "Password should be a string",
105
+ };
106
+ }
107
+ if (!email || !(0, utils_1.isString)(email)) {
108
+ return {
109
+ success: false,
110
+ error: "Email should be a string",
111
+ };
112
+ }
113
+ try {
114
+ const identity = await authIdentityService.retrieve({
115
+ entity_id: email,
116
+ });
117
+ // If app_metadata is not defined or empty, it means no actor was assigned to the auth_identity yet (still "claimable")
118
+ if (!(0, utils_2.isPresent)(identity.app_metadata)) {
119
+ const updatedAuthIdentity = await this.upsertAuthIdentity('update', {
120
+ email,
121
+ password,
122
+ authIdentityService,
123
+ });
124
+ return {
125
+ success: true,
126
+ authIdentity: updatedAuthIdentity,
127
+ };
128
+ }
129
+ return {
130
+ success: false,
131
+ error: "Identity with email already exists",
132
+ };
133
+ }
134
+ catch (error) {
135
+ if (error.type === utils_1.AcmeKitError.Types.NOT_FOUND) {
136
+ const createdAuthIdentity = await this.upsertAuthIdentity('create', {
137
+ email,
138
+ password,
139
+ authIdentityService,
140
+ });
141
+ return {
142
+ success: true,
143
+ authIdentity: createdAuthIdentity,
144
+ };
145
+ }
146
+ return { success: false, error: error.message };
147
+ }
148
+ }
149
+ async upsertAuthIdentity(type, { email, password, authIdentityService }) {
150
+ const passwordHash = await this.hashPassword(password);
151
+ const authIdentity = type === 'create' ? await authIdentityService.create({
152
+ entity_id: email,
153
+ provider_metadata: {
154
+ password: passwordHash,
155
+ },
156
+ }) : await authIdentityService.update(email, {
157
+ provider_metadata: {
158
+ password: passwordHash,
159
+ },
160
+ });
161
+ const copy = JSON.parse(JSON.stringify(authIdentity));
162
+ const providerIdentity = copy.provider_identities?.find((pi) => pi.provider === this.provider);
163
+ delete providerIdentity.provider_metadata?.password;
164
+ return copy;
165
+ }
166
+ }
167
+ exports.EmailPassAuthService = EmailPassAuthService;
168
+ EmailPassAuthService.identifier = "emailpass";
169
+ EmailPassAuthService.DISPLAY_NAME = "Email/Password Authentication";
170
+ //# sourceMappingURL=emailpass.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emailpass.js","sourceRoot":"","sources":["../../src/services/emailpass.ts"],"names":[],"mappings":";;;;;;AAQA,oDAA8F;AAC9F,4DAA+B;AAC/B,0CAA0C;AAc1C,MAAa,oBAAqB,SAAQ,kCAA0B;IAOlE,YACE,EAAE,MAAM,EAAwB,EAChC,OAAqC;QAErC,aAAa;QACb,KAAK,CAAC,GAAG,SAAS,CAAC,CAAA;QACnB,IAAI,CAAC,O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CAAC,CAAC,MAAM,mBAAmB,CAAC,MAAM,CAAC,KAAK,EAAE;YAC7C,iBAAiB,EAAE;gBACjB,QAAQ,EAAE,YAAY;aACvB;SACF,CAAC,CAAA;QAEF,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC,CAAA;QACrD,MAAM,gBAAgB,GAAG,IAAI,CAAC,mBAAmB,EAAE,IAAI,CACrD,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,KAAK,IAAI,CAAC,QAAQ,CACrC,CAAA;QACF,OAAO,gBAAgB,CAAC,iBAAiB,EAAE,QAAQ,CAAA;QAEnD,OAAO,IAAI,CAAA;IACb,CAAC;;AAhNH,oDAiNC;AAhNQ,+BAAU,GAAG,WAAW,CAAA;AACxB,iCAAY,GAAG,+BAA+B,CAAA"}
@@ -0,0 +1 @@
1
+ {"root":["../src/index.ts","../src/services/emailpass.ts"],"version":"5.9.3"}
package/package.json ADDED
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "@acmekit/auth-emailpass",
3
+ "version": "2.13.1",
4
+ "description": "Email and password credential authentication provider for AcmeKit",
5
+ "main": "dist/index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/acmekit/acmekit",
9
+ "directory": "packages/modules/providers/auth-emailpass"
10
+ },
11
+ "files": [
12
+ "dist",
13
+ "!dist/**/__tests__",
14
+ "!dist/**/__mocks__",
15
+ "!dist/**/__fixtures__"
16
+ ],
17
+ "engines": {
18
+ "node": ">=20"
19
+ },
20
+ "author": "AcmeKit",
21
+ "license": "MIT",
22
+ "scripts": {
23
+ "test": "../../../../node_modules/.bin/jest --passWithNoTests src",
24
+ "test:integration": "../../../../node_modules/.bin/jest --passWithNoTests --forceExit --testPathPattern=\"integration-tests/__tests__/.*\\.spec\\.ts\"",
25
+ "build": "yarn run -T rimraf dist && yarn run -T tsc --build",
26
+ "watch": "yarn run -T tsc --watch"
27
+ },
28
+ "devDependencies": {
29
+ "@acmekit/framework": "2.13.1"
30
+ },
31
+ "dependencies": {
32
+ "scrypt-kdf": "^2.0.1"
33
+ },
34
+ "peerDependencies": {
35
+ "@acmekit/framework": "2.13.1"
36
+ },
37
+ "keywords": [
38
+ "acmekit-provider",
39
+ "acmekit-provider-auth-userpass"
40
+ ]
41
+ }