feat: drop the 2.8 columns, moves and aliases kept for a downgrade

This commit is contained in:
LukeGus committed 2026-10-05 10:21:11 -05:00
1 parent d3d8269cb7
commit 61f46d2517
196 files changed
+29909 -10511

No files matched your search

+3 -9
View File
@@ -175,7 +175,7 @@ async function unlockUser(
): Promise<void> {
const authManager = AuthManager.getInstance();
if (identity.kind === "external" || user.isOidc) {
if (identity.kind === "external" || user.isExternal) {
try {
await authManager.authenticateExternalUser(user.id, deviceType);
} catch (error) {
@@ -280,11 +280,7 @@ export async function runLogin(
);
}
const ssoClaims = {
ssoProviderId: identity.ssoProviderId ?? null,
oidcSub: identity.oidcSub ?? null,
oidcSid: identity.oidcSid ?? null,
};
const ssoClaims = { externalSession: identity.externalSession ?? null };
if (
factors.required.length > 0 &&
@@ -499,9 +495,7 @@ export async function verifySecondFactorAndRespond(
const session = await issueSession(req, user, {
methodId: pending?.methodId ?? "password",
rememberMe,
ssoProviderId: pending?.ssoProviderId ?? null,
oidcSub: pending?.oidcSub ?? null,
oidcSid: pending?.oidcSid ?? null,
externalSession: pending?.externalSession ?? null,
});
consumePendingLogin(lookup.token);