Register BIM logout in platform session flow
This commit is contained in:
@@ -222,7 +222,7 @@ app.get("/auth/logged-out", (req, res) => {
|
||||
res.clearCookie(sessionCookieName, clearCookieOptions());
|
||||
res.clearCookie(oidcStateCookieName, clearCookieOptions());
|
||||
setNoStore(res);
|
||||
res.redirect(buildLoginRedirectUrl(returnTo, { forceLogin: true }));
|
||||
res.redirect(buildLoginRedirectUrl(returnTo, { includeReturnTo: returnTo !== "/" }));
|
||||
});
|
||||
|
||||
app.get("/auth/session-sync", (req, res) => {
|
||||
@@ -3110,7 +3110,7 @@ function getBimViewerBaseUrl(app = null) {
|
||||
app?.launchTargetUrl ||
|
||||
app?.openUrl ||
|
||||
app?.url ||
|
||||
"http://localhost:8080"
|
||||
"https://bim.nodedc.tech"
|
||||
).replace(/\/$/, "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user