@owlmeans/iam 0.1.9 → 0.1.10
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.
|
@@ -94,12 +94,12 @@ await meta.update('oidcRealm', (client as any)._realm)
|
|
|
94
94
|
|
|
95
95
|
## Selecting the IAM provider
|
|
96
96
|
|
|
97
|
-
The platform wires the correct implementation via `IAM_MODE` environment variable.
|
|
97
|
+
The platform wires the correct implementation via the `IAM_MODE` environment variable. The default is **`integrated`** (the internal IAM); `IAM_MODE=keycloak` is opt-in, used mainly for custom / standalone customer production setups. Do not read `IAM_MODE` directly from feature code — it belongs in the service-factory only (the platform exposes `resolveIamMode()` / `isIntegratedIam()` from `viable-common`):
|
|
98
98
|
|
|
99
99
|
```ts
|
|
100
|
-
export const makeIamService = (mode =
|
|
101
|
-
if (mode ===
|
|
102
|
-
return
|
|
100
|
+
export const makeIamService = (mode = resolveIamMode()) => {
|
|
101
|
+
if (mode === IAM_MODE_KEYCLOAK) return makeIamKeycloakService(VIABLE_IAM, { oidcProductAlias: OIDC_PRODUCT })
|
|
102
|
+
return makeIamIntegratedService(VIABLE_IAM)
|
|
103
103
|
}
|
|
104
104
|
```
|
|
105
105
|
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"package": "@owlmeans/iam",
|
|
4
|
-
"version": "0.1.
|
|
5
|
-
"generatedAt": "2026-06-
|
|
4
|
+
"version": "0.1.10",
|
|
5
|
+
"generatedAt": "2026-06-17T09:37:28.202Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/iam",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@owlmeans/auth": "^0.1.
|
|
26
|
-
"@owlmeans/context": "^0.1.
|
|
27
|
-
"@owlmeans/error": "^0.1.
|
|
28
|
-
"@owlmeans/oidc": "^0.1.
|
|
25
|
+
"@owlmeans/auth": "^0.1.10",
|
|
26
|
+
"@owlmeans/context": "^0.1.10",
|
|
27
|
+
"@owlmeans/error": "^0.1.10",
|
|
28
|
+
"@owlmeans/oidc": "^0.1.10"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@owlmeans/dep-config": "workspace:*",
|