alfreddohnani
mklovin1379
nik2208
kyomster
const { session, hasToken, hasInvalidClaims } = await getSSRSession(); if (!session) { if (!hasToken) { return redirect("/auth"); } if (hasInvalidClaims) { return <SessionAuthForNextJS />; } else { return <TryRefreshComponent />; } }
satty_71243
Ale, Pocket
mongoose1993
.qwertin
kiesker
der_suchende
info - Collecting page data .Error: If you are using this package with server-side rendering, please make sure that you are checking if the window object is defined. at getWindowOrThrow (D:\Progetti\OH\SORGENTI\openhospital-portal-mui\patient-portal-ui-next\node_modules\supertokens-website\lib\build\utils\windowHandler\defaultImplementation.js:137:15) at Object.getDocument (D:\Progetti\OH\SORGENTI\openhospital-portal-mui\patient-portal-ui-next\node_modules\supertokens-website\lib\build\utils\windowHandler\defaultImplementation.js:291:16) [...]
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).