@easy-web/auth 1.4.1 → 1.6.0
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/dist/recipe.d.ts +48 -0
- package/dist/recipe.d.ts.map +1 -0
- package/dist/recipe.js +140 -0
- package/dist/recipe.js.map +1 -0
- package/package.json +11 -2
package/dist/recipe.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from 'astro/zod';
|
|
2
|
+
import type { RecipeGeneratedFile, RecipeValidationIssue } from '@easy-web/core/recipes';
|
|
3
|
+
export declare const AUTH_RECIPE_ID = "auth.single-island";
|
|
4
|
+
declare const authOptionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
5
|
+
export type AuthRecipeOptions = z.infer<typeof authOptionsSchema>;
|
|
6
|
+
export declare function validateSingleAuthIsland(files: readonly RecipeGeneratedFile[]): readonly RecipeValidationIssue[];
|
|
7
|
+
export declare const authRecipe: {
|
|
8
|
+
id: string;
|
|
9
|
+
version: string;
|
|
10
|
+
protocolVersion: 1;
|
|
11
|
+
compatibleCliRange: string;
|
|
12
|
+
compatibleRuntimeRange: string;
|
|
13
|
+
provides: string[];
|
|
14
|
+
requires: never[];
|
|
15
|
+
conflicts: never[];
|
|
16
|
+
order: {
|
|
17
|
+
priority: number;
|
|
18
|
+
key: string;
|
|
19
|
+
};
|
|
20
|
+
optionsSchema: z.ZodObject<{}, z.core.$strict>;
|
|
21
|
+
outputContributions: ({
|
|
22
|
+
kind: "dependency";
|
|
23
|
+
id: string;
|
|
24
|
+
target: string;
|
|
25
|
+
} | {
|
|
26
|
+
kind: "configuration";
|
|
27
|
+
id: string;
|
|
28
|
+
target: string;
|
|
29
|
+
} | {
|
|
30
|
+
kind: "file";
|
|
31
|
+
id: string;
|
|
32
|
+
target: string;
|
|
33
|
+
} | {
|
|
34
|
+
kind: "route";
|
|
35
|
+
id: string;
|
|
36
|
+
target: string;
|
|
37
|
+
})[];
|
|
38
|
+
validators: {
|
|
39
|
+
id: string;
|
|
40
|
+
phase: "output";
|
|
41
|
+
validate: ({ output }: import("@easy-web/core/recipes").RecipeValidationContext<Record<string, never>>) => readonly RecipeValidationIssue[];
|
|
42
|
+
}[];
|
|
43
|
+
generate: () => {
|
|
44
|
+
files: readonly RecipeGeneratedFile[];
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
export default authRecipe;
|
|
48
|
+
//# sourceMappingURL=recipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe.d.ts","sourceRoot":"","sources":["../src/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAC9B,OAAO,KAAK,EACV,mBAAmB,EAEnB,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAEhC,eAAO,MAAM,cAAc,uBAAuB,CAAC;AAEnD,QAAA,MAAM,iBAAiB,iCAAqB,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAyFlE,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,SAAS,mBAAmB,EAAE,GACpC,SAAS,qBAAqB,EAAE,CAmClC;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBsB,CAAC;AAE9C,eAAe,UAAU,CAAC"}
|
package/dist/recipe.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { z } from 'astro/zod';
|
|
2
|
+
export const AUTH_RECIPE_ID = 'auth.single-island';
|
|
3
|
+
const authOptionsSchema = z.strictObject({});
|
|
4
|
+
const packageJson = `${JSON.stringify({
|
|
5
|
+
dependencies: {
|
|
6
|
+
'@astrojs/react': '^4.4.2',
|
|
7
|
+
'@easy-web/auth': '^1.5.0',
|
|
8
|
+
react: '^19.1.1',
|
|
9
|
+
'react-dom': '^19.1.1',
|
|
10
|
+
},
|
|
11
|
+
}, null, 2)}\n`;
|
|
12
|
+
const authConfig = `import type { AuthConfig } from '@easy-web/auth';
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* PLACEHOLDER values only. Replace these after creating the site's Entra app
|
|
16
|
+
* registration outside the scaffold workflow. Never put a client secret here.
|
|
17
|
+
*/
|
|
18
|
+
export const authConfig: AuthConfig = {
|
|
19
|
+
clientId: 'REPLACE_WITH_YOUR_CLIENT_ID',
|
|
20
|
+
tenantId: 'REPLACE_WITH_YOUR_TENANT_ID',
|
|
21
|
+
};
|
|
22
|
+
`;
|
|
23
|
+
const authShell = `import { AuthProvider, LoginButton, UserAvatar } from '@easy-web/auth';
|
|
24
|
+
import type { AuthConfig } from '@easy-web/auth';
|
|
25
|
+
|
|
26
|
+
interface AuthShellProps {
|
|
27
|
+
config: AuthConfig;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The site's only auth-bearing React tree. Add every component that calls an
|
|
32
|
+
* auth hook inside this shell; never mount another auth component as an Astro island.
|
|
33
|
+
*/
|
|
34
|
+
export default function AuthShell({ config }: AuthShellProps) {
|
|
35
|
+
return (
|
|
36
|
+
<AuthProvider config={config}>
|
|
37
|
+
<div data-easy-web-auth-root>
|
|
38
|
+
<UserAvatar size={28} />
|
|
39
|
+
<LoginButton />
|
|
40
|
+
</div>
|
|
41
|
+
</AuthProvider>
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
const authMount = `---
|
|
46
|
+
import AuthShell from './AuthShell';
|
|
47
|
+
import { authConfig } from '../config/auth';
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
<!-- Mount AuthMount once in the shared site layout. Do not mount auth on individual pages. -->
|
|
51
|
+
<AuthShell client:only="react" config={authConfig} />
|
|
52
|
+
`;
|
|
53
|
+
const staticWebAppConfig = `${JSON.stringify({
|
|
54
|
+
routes: [
|
|
55
|
+
{
|
|
56
|
+
route: '/.auth/login/aad',
|
|
57
|
+
allowedRoles: ['anonymous'],
|
|
58
|
+
headers: { 'Cache-Control': 'no-store' },
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
route: '/.auth/logout',
|
|
62
|
+
allowedRoles: ['authenticated'],
|
|
63
|
+
headers: { 'Cache-Control': 'no-store' },
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
}, null, 2)}\n`;
|
|
67
|
+
const generatedFiles = [
|
|
68
|
+
{ path: 'package.json', content: packageJson },
|
|
69
|
+
{ path: 'src/config/auth.ts', content: authConfig },
|
|
70
|
+
{ path: 'src/components/AuthShell.tsx', content: authShell },
|
|
71
|
+
{ path: 'src/components/AuthMount.astro', content: authMount },
|
|
72
|
+
{ path: 'staticwebapp.config.json', content: staticWebAppConfig },
|
|
73
|
+
];
|
|
74
|
+
const authImportPattern = /(?:from\s+['"]@easy-web\/auth['"]|import\s+['"]@easy-web\/auth['"])/;
|
|
75
|
+
const authIslandPattern = /<\w+\s+[^>]*client:(?:only|load|idle|visible|media)=(?:"react"|'react'|\{["']react["']\})/g;
|
|
76
|
+
const uuidPattern = /\b[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}\b/i;
|
|
77
|
+
const secretPattern = /(?:clientSecret|client_secret)\s*[:=]\s*['"][^'"]+['"]/i;
|
|
78
|
+
function textFiles(files) {
|
|
79
|
+
return files
|
|
80
|
+
.filter((file) => typeof file.content === 'string')
|
|
81
|
+
.map(({ path, content }) => ({ path, content }));
|
|
82
|
+
}
|
|
83
|
+
export function validateSingleAuthIsland(files) {
|
|
84
|
+
const text = textFiles(files);
|
|
85
|
+
const issues = [];
|
|
86
|
+
const authComponents = new Set(text.filter((file) => authImportPattern.test(file.content)).map((file) => file.path));
|
|
87
|
+
let islandCount = 0;
|
|
88
|
+
for (const file of text.filter((candidate) => candidate.path.endsWith('.astro'))) {
|
|
89
|
+
const importedAuthComponents = [...authComponents]
|
|
90
|
+
.map((path) => path.split('/').pop()?.replace(/\.(?:astro|tsx?|jsx?)$/, ''))
|
|
91
|
+
.filter((name) => Boolean(name));
|
|
92
|
+
const touchesAuth = authImportPattern.test(file.content)
|
|
93
|
+
|| importedAuthComponents.some((name) => new RegExp(`\\b${name}\\b`).test(file.content));
|
|
94
|
+
if (touchesAuth)
|
|
95
|
+
islandCount += file.content.match(authIslandPattern)?.length ?? 0;
|
|
96
|
+
}
|
|
97
|
+
if (islandCount !== 1) {
|
|
98
|
+
issues.push({
|
|
99
|
+
code: 'auth-single-island',
|
|
100
|
+
message: `Expected exactly one auth-bearing React island; found ${islandCount}.`,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
for (const file of text) {
|
|
104
|
+
if (uuidPattern.test(file.content) || secretPattern.test(file.content)) {
|
|
105
|
+
issues.push({
|
|
106
|
+
code: 'auth-private-value',
|
|
107
|
+
message: 'Generated auth output contains a credential-shaped value instead of a placeholder.',
|
|
108
|
+
path: file.path,
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
return issues;
|
|
113
|
+
}
|
|
114
|
+
export const authRecipe = {
|
|
115
|
+
id: AUTH_RECIPE_ID,
|
|
116
|
+
version: '1.5.0',
|
|
117
|
+
protocolVersion: 1,
|
|
118
|
+
compatibleCliRange: '^0.1.0',
|
|
119
|
+
compatibleRuntimeRange: '^1.5.0',
|
|
120
|
+
provides: ['auth.single-island'],
|
|
121
|
+
requires: [],
|
|
122
|
+
conflicts: [],
|
|
123
|
+
order: { priority: 40, key: 'auth' },
|
|
124
|
+
optionsSchema: authOptionsSchema,
|
|
125
|
+
outputContributions: [
|
|
126
|
+
{ kind: 'dependency', id: 'auth.dependencies', target: 'package.json' },
|
|
127
|
+
{ kind: 'configuration', id: 'auth.placeholder-config', target: 'src/config/auth.ts' },
|
|
128
|
+
{ kind: 'file', id: 'auth.shell', target: 'src/components/AuthShell.tsx' },
|
|
129
|
+
{ kind: 'file', id: 'auth.mount', target: 'src/components/AuthMount.astro' },
|
|
130
|
+
{ kind: 'route', id: 'auth.swa-routes', target: 'staticwebapp.config.json' },
|
|
131
|
+
],
|
|
132
|
+
validators: [{
|
|
133
|
+
id: 'auth.single-island-output',
|
|
134
|
+
phase: 'output',
|
|
135
|
+
validate: ({ output }) => output ? validateSingleAuthIsland(output.files) : [],
|
|
136
|
+
}],
|
|
137
|
+
generate: () => ({ files: generatedFiles }),
|
|
138
|
+
};
|
|
139
|
+
export default authRecipe;
|
|
140
|
+
//# sourceMappingURL=recipe.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipe.js","sourceRoot":"","sources":["../src/recipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,WAAW,CAAC;AAO9B,MAAM,CAAC,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAEnD,MAAM,iBAAiB,GAAG,CAAC,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AAI7C,MAAM,WAAW,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC;IACpC,YAAY,EAAE;QACZ,gBAAgB,EAAE,QAAQ;QAC1B,gBAAgB,EAAE,QAAQ;QAC1B,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,SAAS;KACvB;CACF,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AAEhB,MAAM,UAAU,GAAG;;;;;;;;;;CAUlB,CAAC;AAEF,MAAM,SAAS,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBjB,CAAC;AAEF,MAAM,SAAS,GAAG;;;;;;;CAOjB,CAAC;AAEF,MAAM,kBAAkB,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC;IAC3C,MAAM,EAAE;QACN;YACE,KAAK,EAAE,kBAAkB;YACzB,YAAY,EAAE,CAAC,WAAW,CAAC;YAC3B,OAAO,EAAE,EAAE,eAAe,EAAE,UAAU,EAAE;SACzC;QACD;YACE,KAAK,EAAE,eAAe;YACtB,YAAY,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C,CAAC,CAAC,EAAE;SAC/E,CAAC;IACF,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,CAAC;CACA,CAAC;AAE9C,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-web/auth",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
"./graph/*": {
|
|
19
19
|
"types": "./dist/graph/*.d.ts",
|
|
20
20
|
"import": "./dist/graph/*.js"
|
|
21
|
+
},
|
|
22
|
+
"./recipe": {
|
|
23
|
+
"types": "./dist/recipe.d.ts",
|
|
24
|
+
"import": "./dist/recipe.js"
|
|
21
25
|
}
|
|
22
26
|
},
|
|
23
27
|
"files": [
|
|
@@ -26,15 +30,19 @@
|
|
|
26
30
|
],
|
|
27
31
|
"sideEffects": false,
|
|
28
32
|
"peerDependencies": {
|
|
33
|
+
"astro": ">=6.0.0 <8.0.0",
|
|
29
34
|
"react": ">=18.0.0",
|
|
30
35
|
"react-dom": ">=18.0.0"
|
|
31
36
|
},
|
|
32
37
|
"devDependencies": {
|
|
38
|
+
"@astrojs/check": "^0.9.0",
|
|
39
|
+
"@astrojs/react": "^4.4.2",
|
|
33
40
|
"@testing-library/jest-dom": "^6.9.1",
|
|
34
41
|
"@testing-library/react": "^16.3.2",
|
|
35
42
|
"@testing-library/user-event": "^14.6.1",
|
|
36
43
|
"@types/react": "^19.1.8",
|
|
37
44
|
"@types/react-dom": "^19.1.6",
|
|
45
|
+
"astro": "^7.3.5",
|
|
38
46
|
"jsdom": "^29.1.1",
|
|
39
47
|
"react": "^19.1.1",
|
|
40
48
|
"react-dom": "^19.1.1",
|
|
@@ -53,7 +61,8 @@
|
|
|
53
61
|
"dependencies": {
|
|
54
62
|
"@azure/msal-browser": "4",
|
|
55
63
|
"@azure/msal-react": "3",
|
|
56
|
-
"@microsoft/microsoft-graph-client": "^3.0.7"
|
|
64
|
+
"@microsoft/microsoft-graph-client": "^3.0.7",
|
|
65
|
+
"@easy-web/core": "1.6.0"
|
|
57
66
|
},
|
|
58
67
|
"scripts": {
|
|
59
68
|
"build": "tsc",
|