fix: keep security checks in sync with their contracts

Mirror the egress policy in the standalone SDK and check its entire shared section. Keep entrypoint assertions aligned with the debug flag and document the mutually exclusive OIDC transactions.
This commit is contained in:
Maurice
2026-12-01 12:04:55 +01:00
parent 3c2dc51439
commit c22c464e68
7 changed files with 168 additions and 74 deletions
+1
View File
@@ -787,6 +787,7 @@ export class OidcService implements OnModuleDestroy {
return { user: toClientUser(user), roleChange };
}
/** @txIndependent An existing-account refresh returns before registration. A lookup with no account writes nothing. */
async findOrCreateUser(
userInfo: OidcUserInfo,
config: OidcConfig,