-
Question 💬It seems that using custom signIn page and setting How to reproduce ☕️The
The response contains no error, everything seems normal and This is where I expect the session to be present after redirect:
But all I get message Contributing 🙌🏽Yes, I am willing to help answer this question in a PR |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Okay, I seem to be able to solve this issue by myself. What I noticed by trial and error is that if I remove my
I am using |
Beta Was this translation helpful? Give feedback.
Okay, I seem to be able to solve this issue by myself. What I noticed by trial and error is that if I remove my
serverSideTranslations
and usegetServerSideProps
instead ofgetStaticProps
on my desired page and use theawait getSession()
, things seem to be working. So, this is how it looks:I am using
next-i18next
as my localization package. The problem seems to be with thegetStaticProps
, as the page gets built before the session …