@wtfalch/foundry 0.51.0 → 0.51.1
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.
|
@@ -4006,7 +4006,7 @@ async function switchOnArchonIdTokenUserinfo(context, deps) {
|
|
|
4006
4006
|
// The planner plans nothing without the method; a stale plan does nothing.
|
|
4007
4007
|
if (!ownerSignIn || !zitadel?.updateOidcAppIdTokenUserinfoAssertion)
|
|
4008
4008
|
return {};
|
|
4009
|
-
const orgId = ownerSignIn.organisationId;
|
|
4009
|
+
const orgId = recorded[PLATFORM_ARCHON_CLIENT_ORG_SCOPE_KEY] ?? ownerSignIn.organisationId;
|
|
4010
4010
|
const projectId = recorded[PLATFORM_ARCHON_ZITADEL_PROJECT_SCOPE_KEY];
|
|
4011
4011
|
const appId = recorded[PLATFORM_ARCHON_ZITADEL_APP_SCOPE_KEY];
|
|
4012
4012
|
if (!orgId || !projectId || !appId) {
|
|
@@ -4091,7 +4091,7 @@ async function registerArchonDesktopCallback(context, deps) {
|
|
|
4091
4091
|
if (!ownerSignIn || !zitadel?.getOidcAppRedirectUris || !zitadel.updateOidcAppRedirectUris) {
|
|
4092
4092
|
return {};
|
|
4093
4093
|
}
|
|
4094
|
-
const orgId = ownerSignIn.organisationId;
|
|
4094
|
+
const orgId = recorded[PLATFORM_ARCHON_CLIENT_ORG_SCOPE_KEY] ?? ownerSignIn.organisationId;
|
|
4095
4095
|
const projectId = recorded[PLATFORM_ARCHON_ZITADEL_PROJECT_SCOPE_KEY];
|
|
4096
4096
|
const appId = recorded[PLATFORM_ARCHON_ZITADEL_APP_SCOPE_KEY];
|
|
4097
4097
|
const hostname = recorded[PLATFORM_ARCHON_CLIENT_HOSTNAME_SCOPE_KEY];
|