@ibgib/space-gib 0.0.7 → 0.0.8
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/client/bootstrap.mjs +1 -1
- package/dist/client/{chunk-ULFNE26Y.mjs → chunk-DBHMHCGD.mjs} +190 -65
- package/dist/client/chunk-DBHMHCGD.mjs.map +7 -0
- package/dist/client/chunk-SUQ5QJH4.mjs +42 -0
- package/dist/client/chunk-SUQ5QJH4.mjs.map +7 -0
- package/dist/client/index.mjs +1 -1
- package/dist/client/script.mjs +1 -1
- package/dist/server/server.mjs +5446 -5165
- package/dist/server/server.mjs.map +4 -4
- package/package.json +4 -4
- package/src/client/AUTO-GENERATED-version.mts +1 -1
- package/src/client/api/space-gib-api-bridge.mts +7 -2
- package/src/client/components/keystone-details/keystone-details.css +117 -20
- package/src/client/components/keystone-details/keystone-details.html +33 -5
- package/src/client/components/keystone-details/keystone-details.mts +206 -14
- package/src/server/serve-gib/handlers/api/keystone/keystone-evolve.handler.mts +33 -0
- package/src/server/serve-gib/handlers/api/keystone/sso-link.handler.mts +25 -4
- package/src/server/serve-gib/handlers/api/keystone/sso-login.handler.mts +4 -3
- package/dist/client/chunk-RXFIBFRK.mjs +0 -42
- package/dist/client/chunk-RXFIBFRK.mjs.map +0 -7
- package/dist/client/chunk-ULFNE26Y.mjs.map +0 -7
|
@@ -123,10 +123,11 @@ export class SsoLoginHandler extends ServeGibHandlerWithMetaspaceBase<LoginParam
|
|
|
123
123
|
return this.error(404, `Parent identity keystone not found in space for address: ${latestParentAddr}`);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// 4. Resolve the
|
|
127
|
-
const
|
|
126
|
+
// 4. Resolve the custodian pool from the parent keystone using dynamic poolId
|
|
127
|
+
const targetPoolId = `custodian-manage-${providerId}`;
|
|
128
|
+
const custodianPool = parentKeystone.data?.challengePools?.find((p: any) => p.id === targetPoolId);
|
|
128
129
|
if (!custodianPool) {
|
|
129
|
-
return this.error(401, `Unauthorized: Custodian pool '${
|
|
130
|
+
return this.error(401, `Unauthorized: Custodian pool '${targetPoolId}' is not registered in the parent identity keystone.`);
|
|
130
131
|
}
|
|
131
132
|
|
|
132
133
|
// 5. Assert allowed verbs contain KEYSTONE_VERB_MANAGE
|