@owlmeans/oidc 0.1.18-rc.29 → 0.1.18-rc.30

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
@@ -1,6 +1,6 @@
1
1
  # @owlmeans/oidc
2
2
 
3
- Shared OIDC protocol abstractions — guard/gate aliases, models, and entrypoint declarations used by both server and browser OIDC packages.
3
+ Shared OIDC protocol abstractions — guard/gate aliases, models, and immutable protocol declarations used by both server and browser OIDC packages.
4
4
 
5
5
  ## Overview
6
6
 
@@ -12,7 +12,7 @@ Shared OIDC protocol abstractions — guard/gate aliases, models, and entrypoint
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- bun add @owlmeans/oidc@^0.1.18-rc.24
15
+ bun add @owlmeans/oidc@^0.1.18-rc.30
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -74,9 +74,11 @@ import { OIDC_GUARD } from '@owlmeans/oidc'
74
74
  - `GOOGLE_CLIENT_AUTH` identifies the browser Google auth plugin registered by `@owlmeans/web-oidc-rp/auth/plugins`.
75
75
  - `OIDC_GATE` is for OIDC-backed authorization. Apps that only use Google/OIDC for login and authorize against local identity records should define their own product gate alias.
76
76
 
77
- ### `entrypoints`
77
+ ### `oidcProtocols`
78
78
 
79
- Array of dispatcher entrypoint declarations: `POST /authenticate/oidc/init` and `POST /authenticate/oidc/process`.
79
+ Immutable dispatcher declaration tree: `POST /authenticate/oidc/init` and
80
+ `POST /authenticate/oidc/process`. The relying-party packages bind these exact protocol objects
81
+ locally; do not recreate them or consume an alias-addressed compatibility list.
80
82
 
81
83
  ## Related Packages
82
84
 
@@ -93,7 +95,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
93
95
  your project's skill store (`.agents/skills/`):
94
96
 
95
97
  ```sh
96
- npx @owlmeans/agent-skills@^0.1.18-rc.20
98
+ npx @owlmeans/agent-skills@^0.1.18-rc.21
97
99
  ```
98
100
 
99
101
  The embedded files are version-matched to this package release. Do not edit them
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 2,
3
3
  "package": "@owlmeans/oidc",
4
- "version": "0.1.18-rc.29",
5
- "generatedAt": "2026-09-12T14:18:54.789Z",
4
+ "version": "0.1.18-rc.30",
5
+ "generatedAt": "2026-09-15T12:21:31.917Z",
6
6
  "canonicalRepo": "https://github.com/owlmeans/common",
7
7
  "entries": [
8
8
  {
@@ -8,7 +8,7 @@ user-invocable: false
8
8
  # @owlmeans/oidc
9
9
 
10
10
  **Layer:** Core
11
- **Install:** `"@owlmeans/oidc": "^0.1.18-rc.29"` in `dependencies`
11
+ **Install:** `"@owlmeans/oidc": "^0.1.18-rc.30"` in `dependencies`
12
12
 
13
13
  The shared half of the OIDC stack: no transport, no library. It owns the names, the shapes and the
14
14
  guard that the server relying party (`@owlmeans/server-oidc-rp`), the browser relying party
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=advertise.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advertise.d.ts","sourceRoot":"","sources":["../src/advertise.ts"],"names":[],"mappings":""}
@@ -0,0 +1,28 @@
1
+ import { apiConfigPlugin, every } from '@owlmeans/api-config';
2
+ apiConfigPlugin({
3
+ allow: {
4
+ oidc: {
5
+ clientCookie: true,
6
+ restrictedProviders: true,
7
+ providers: every({
8
+ entityId: true,
9
+ service: true,
10
+ discoveryUrl: true,
11
+ basePath: true,
12
+ clientId: true,
13
+ redirectUri: true,
14
+ extraScopes: true,
15
+ authEndpoint: true,
16
+ tokenEndpoint: true,
17
+ userinfoEndpoint: true,
18
+ idOverride: true,
19
+ def: true,
20
+ label: true,
21
+ icon: true,
22
+ order: true,
23
+ hidden: true,
24
+ }, value => value != null && typeof value === 'object' && value.internal !== true),
25
+ },
26
+ },
27
+ });
28
+ //# sourceMappingURL=advertise.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advertise.js","sourceRoot":"","sources":["../src/advertise.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAE7D,eAAe,CAAC;IACd,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,YAAY,EAAE,IAAI;YAClB,mBAAmB,EAAE,IAAI;YACzB,SAAS,EAAE,KAAK,CAAC;gBACf,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,IAAI;gBACb,YAAY,EAAE,IAAI;gBAClB,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,IAAI;gBACd,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,IAAI;gBACjB,YAAY,EAAE,IAAI;gBAClB,aAAa,EAAE,IAAI;gBACnB,gBAAgB,EAAE,IAAI;gBACtB,UAAU,EAAE,IAAI;gBAChB,GAAG,EAAE,IAAI;gBACT,KAAK,EAAE,IAAI;gBACX,IAAI,EAAE,IAAI;gBACV,KAAK,EAAE,IAAI;gBACX,MAAM,EAAE,IAAI;aACb,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,IAAI,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAK,KAAgC,CAAC,QAAQ,KAAK,IAAI,CAAC;SAC/G;KACF;CACF,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@owlmeans/oidc",
3
- "version": "0.1.18-rc.29",
3
+ "version": "0.1.18-rc.30",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -21,14 +21,14 @@
21
21
  }
22
22
  },
23
23
  "dependencies": {
24
- "@owlmeans/auth": "^0.1.18-rc.17",
25
- "@owlmeans/auth-common": "^0.1.18-rc.21",
26
- "@owlmeans/basic-envelope": "^0.1.18-rc.20",
27
- "@owlmeans/config": "^0.1.18-rc.20",
28
- "@owlmeans/context": "^0.1.18-rc.16",
29
- "@owlmeans/entrypoint": "^0.1.18-rc.19",
30
- "@owlmeans/resource": "^0.1.18-rc.17",
31
- "@owlmeans/route": "^0.1.18-rc.17"
24
+ "@owlmeans/auth": "^0.1.18-rc.18",
25
+ "@owlmeans/auth-common": "^0.1.18-rc.22",
26
+ "@owlmeans/basic-envelope": "^0.1.18-rc.21",
27
+ "@owlmeans/config": "^0.1.18-rc.21",
28
+ "@owlmeans/context": "^0.1.18-rc.17",
29
+ "@owlmeans/entrypoint": "^0.1.18-rc.20",
30
+ "@owlmeans/resource": "^0.1.18-rc.18",
31
+ "@owlmeans/route": "^0.1.18-rc.18"
32
32
  },
33
33
  "peerDependencies": {
34
34
  "ajv": "*"