andycmaj/nextjs-passport-session-auth

At client we don't have ctx.ctx.req

Closed this issue · 0 comments

I have issue with withIdentity function,

const { passportSession } = nextCookie(ctx.ctx)

it uses ctx.ctx.req, which on client is undefined, and with client navigation identity will be null