diff --git a/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx b/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx index 242c79a..6046558 100644 --- a/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx +++ b/webapp/src/app/[locale]/(GlobalWrapper)/(NotAuth)/layout.tsx @@ -34,6 +34,7 @@ export default function LocaleLayout({children} : { children : ReactNode }) { // if logged in this will fire function LoggedInCallback() { + console.log('SERVER ::: logged in') return router.push(authRedirectPage) } diff --git a/webapp/src/app/api/auth/route.ts b/webapp/src/app/api/auth/route.ts index d392fb9..86f627c 100644 --- a/webapp/src/app/api/auth/route.ts +++ b/webapp/src/app/api/auth/route.ts @@ -140,6 +140,7 @@ export async function GET(req: Request) // we throw error if expired if(userDoc.token.expiresAt < (Date.now() / 1000)) { + console.log('SERVER ::: token expired') throw { specialError : 'expiredToken' }