oidc: do not fail on notification failure

This commit is contained in:
Girish Ramakrishnan
2026-02-05 18:25:58 +01:00
parent c8cdcfc99f
commit 91b8f1a457

View File

@@ -469,7 +469,7 @@ async function interactionConfirm(req, res, next) {
const auditSource = AuditSource.fromOidcRequest(req);
await eventlog.add(user.ghost ? eventlog.ACTION_USER_LOGIN_GHOST : eventlog.ACTION_USER_LOGIN, auditSource, { userId: user.id, user: users.removePrivateFields(user), appId: client.appId || null });
await users.notifyLoginLocation(user, ip, userAgent, auditSource);
await safe(users.notifyLoginLocation(user, ip, userAgent, auditSource), { debug });
const result = { consent };
await gOidcProvider.interactionFinished(req, res, result, { mergeWithLastSubmission: true });