@owlmeans/client-auth 0.1.16-rc.0 → 0.1.16
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
CHANGED
|
@@ -71,10 +71,9 @@ Auth service alias: `'auth'`.
|
|
|
71
71
|
<!-- owlmeans:agent-guidance:start -->
|
|
72
72
|
## Agent guidance
|
|
73
73
|
|
|
74
|
-
This package ships embedded
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
(`.claude/skills/` and `.github/instructions/`):
|
|
74
|
+
This package ships embedded agent skills under `agent-meta/`. After installing your
|
|
75
|
+
`@owlmeans/*` packages, run the OwlMeans agent-skills installer to place them into
|
|
76
|
+
your project's skill store (`.agents/skills/`):
|
|
78
77
|
|
|
79
78
|
```sh
|
|
80
79
|
npx @owlmeans/agent-skills
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 2,
|
|
3
3
|
"package": "@owlmeans/client-auth",
|
|
4
|
-
"version": "0.1.16
|
|
5
|
-
"generatedAt": "2026-08-
|
|
4
|
+
"version": "0.1.16",
|
|
5
|
+
"generatedAt": "2026-08-14T10:14:48.846Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
"name": "client-auth",
|
|
11
11
|
"category": "package-specific",
|
|
12
12
|
"file": "skills/client-auth/SKILL.md",
|
|
13
|
-
"canonicalPath": ".
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"kind": "instruction",
|
|
17
|
-
"name": "client-auth",
|
|
18
|
-
"category": "package-specific",
|
|
19
|
-
"file": "instructions/client-auth.instructions.md",
|
|
20
|
-
"canonicalPath": ".github/instructions/client-auth.instructions.md"
|
|
13
|
+
"canonicalPath": ".agents/skills/client-auth/SKILL.md"
|
|
21
14
|
}
|
|
22
15
|
]
|
|
23
16
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/client-auth",
|
|
3
|
-
"version": "0.1.16
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@owlmeans/auth": "^0.1.16
|
|
47
|
-
"@owlmeans/auth-common": "^0.1.16
|
|
48
|
-
"@owlmeans/basic-envelope": "^0.1.16
|
|
49
|
-
"@owlmeans/basic-keys": "^0.1.16
|
|
50
|
-
"@owlmeans/client": "^0.1.16
|
|
51
|
-
"@owlmeans/client-context": "^0.1.16
|
|
52
|
-
"@owlmeans/client-flow": "^0.1.16
|
|
53
|
-
"@owlmeans/client-entrypoint": "^0.1.16
|
|
54
|
-
"@owlmeans/client-resource": "^0.1.16
|
|
55
|
-
"@owlmeans/client-socket": "^0.1.16
|
|
56
|
-
"@owlmeans/context": "^0.1.16
|
|
57
|
-
"@owlmeans/did": "^0.1.16
|
|
58
|
-
"@owlmeans/error": "^0.1.16
|
|
59
|
-
"@owlmeans/flow": "^0.1.16
|
|
60
|
-
"@owlmeans/entrypoint": "^0.1.16
|
|
61
|
-
"@owlmeans/resource": "^0.1.16
|
|
62
|
-
"@owlmeans/socket": "^0.1.16
|
|
63
|
-
"@owlmeans/web-flow": "^0.1.16
|
|
46
|
+
"@owlmeans/auth": "^0.1.16",
|
|
47
|
+
"@owlmeans/auth-common": "^0.1.16",
|
|
48
|
+
"@owlmeans/basic-envelope": "^0.1.16",
|
|
49
|
+
"@owlmeans/basic-keys": "^0.1.16",
|
|
50
|
+
"@owlmeans/client": "^0.1.16",
|
|
51
|
+
"@owlmeans/client-context": "^0.1.16",
|
|
52
|
+
"@owlmeans/client-flow": "^0.1.16",
|
|
53
|
+
"@owlmeans/client-entrypoint": "^0.1.16",
|
|
54
|
+
"@owlmeans/client-resource": "^0.1.16",
|
|
55
|
+
"@owlmeans/client-socket": "^0.1.16",
|
|
56
|
+
"@owlmeans/context": "^0.1.16",
|
|
57
|
+
"@owlmeans/did": "^0.1.16",
|
|
58
|
+
"@owlmeans/error": "^0.1.16",
|
|
59
|
+
"@owlmeans/flow": "^0.1.16",
|
|
60
|
+
"@owlmeans/entrypoint": "^0.1.16",
|
|
61
|
+
"@owlmeans/resource": "^0.1.16",
|
|
62
|
+
"@owlmeans/socket": "^0.1.16",
|
|
63
|
+
"@owlmeans/web-flow": "^0.1.16",
|
|
64
64
|
"@scure/base": "^1.1.9"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@owlmeans/dep-config": "workspace:*",
|
|
72
|
-
"@owlmeans/test-auth": "^0.1.16
|
|
72
|
+
"@owlmeans/test-auth": "^0.1.16",
|
|
73
73
|
"@types/bun": "^1.3.14",
|
|
74
74
|
"@types/react": "^19.2.17",
|
|
75
75
|
"nodemon": "^3.1.14",
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "How to use @owlmeans/client-auth — client-side auth manager and UI components, setupExternalAuthentication() to wire OAuth/OIDC flows."
|
|
3
|
-
applyTo: "**/*.ts, **/*.tsx"
|
|
4
|
-
---
|
|
5
|
-
<!-- AUTO-GENERATED — do not edit. Regenerate via sync-agent-meta. -->
|
|
6
|
-
|
|
7
|
-
# @owlmeans/client-auth
|
|
8
|
-
|
|
9
|
-
**Layer:** Client
|
|
10
|
-
**Install:** `"@owlmeans/client-auth": "^0.1.16-rc.0"` in `dependencies`
|
|
11
|
-
|
|
12
|
-
## Key Exports
|
|
13
|
-
|
|
14
|
-
| Export | Description |
|
|
15
|
-
|--------|-------------|
|
|
16
|
-
| `setupExternalAuthentication(alias)` | Register OAuth/OIDC external auth flow |
|
|
17
|
-
| Auth components | Login UI primitives |
|
|
18
|
-
| Auth service | Client-side auth manager |
|
|
19
|
-
| Modules | Auth module declarations |
|
|
20
|
-
| Constants | Auth aliases |
|
|
21
|
-
|
|
22
|
-
## Subpath Exports
|
|
23
|
-
|
|
24
|
-
- `./manager`, `./manager/modules`, `./manager/plugins`
|
|
25
|
-
|
|
26
|
-
## Usage
|
|
27
|
-
|
|
28
|
-
```typescript
|
|
29
|
-
import { setupExternalAuthentication } from '@owlmeans/client-auth'
|
|
30
|
-
setupExternalAuthentication(AUTH_WEB)
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Product-Viable Usage Notes
|
|
34
|
-
|
|
35
|
-
- The manager web app imports `DEFAULT_ALIAS` from `@owlmeans/client-auth` as the client-side equivalent of `DEFAULT_GUARD`.
|
|
36
|
-
- It imports `@owlmeans/web-oidc-rp/auth/plugins` for side effects; that registers OIDC and Google authentication plugins in the client auth manager.
|
|
37
|
-
- During Google/OIDC redirects, plugins persist the client auth control state, restore it on return, then submit `AuthCredentials` to the server auth flow.
|
|
38
|
-
- The browser receives and stores a normal OwlMeans bearer token. Product authorization remains server-side through module gates and handler checks, not through client-only state.
|
|
39
|
-
|
|
40
|
-
## Depends On
|
|
41
|
-
|
|
42
|
-
- `@owlmeans/auth`, `@owlmeans/auth-common`, `@owlmeans/client-context`, `@owlmeans/client-entrypoint`, `react`
|