We're using Nextjs's cookies() function. The session object returned from getIronSessionFromCookieStore does not include an implementation for updateConfig.
Our use case for updateConfig is to set a maxAge on the session that is not known until after logging in.
We've worked around this for now by allowing the getSession wrapper around getIronSession to pass new sessionOptions
Hey there,
We're using Nextjs's
cookies()
function. The session object returned fromgetIronSessionFromCookieStore
does not include an implementation forupdateConfig
.Our use case for
updateConfig
is to set a maxAge on the session that is not known until after logging in.We've worked around this for now by allowing the
getSession
wrapper aroundgetIronSession
to pass new sessionOptions