diff --git a/src/oidc.js b/src/oidc.js index 5d0f532c2..fafcaa14e 100644 --- a/src/oidc.js +++ b/src/oidc.js @@ -489,7 +489,10 @@ function renderInteractionPage(provider) { } } catch (error) { debug('route interaction get error', error); - return res.render('error', { errorMessage: error.error_description || 'Internal error' }); + return res.render('error', { + errorMessage: error.error_description || 'Internal error', + footer: marked.parse(await branding.renderFooter()) + }); } }; } @@ -667,7 +670,6 @@ async function findAccount(ctx, id) { async function renderError(ctx, out, error) { const data = { - dashboardOrigin: `https://${settings.dashboardFqdn()}`, errorMessage: error.error_description || error.error_detail || 'Unknown error', footer: marked.parse(await branding.renderFooter()) };