oidc: Attempt to replace built-in session end

This commit is contained in:
Johannes Zellner
2023-03-17 11:26:42 +01:00
parent cd2fa9478c
commit 39f2308ba1
3 changed files with 34 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ exports = module.exports = {
},
routes: {
renderInteractionPage,
renderSessionEndPage,
interactionLogin,
interactionConfirm,
interactionAbort
@@ -280,6 +281,15 @@ class CloudronAdapter {
}
}
function renderSessionEndPage(routePrefix, provider) {
assert.strictEqual(typeof routePrefix, 'string');
assert.strictEqual(typeof provider, 'object');
debug(`route session end get`);
return res.render('session_end', {});
}
function renderInteractionPage(routePrefix, provider) {
assert.strictEqual(typeof routePrefix, 'string');
assert.strictEqual(typeof provider, 'object');