Replies: 2 comments
-
Hi @sky9413 did you find a solution to this problem? I am having the same problem getSession returns undefined when using https |
Beta Was this translation helpful? Give feedback.
-
@doorman02 @sky9413
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question 💬
Hello,
I cant use getSession() in getServerSideProps with HTTPS.
is it normal? I try many times.
I will get it if use HTTPS . I cant getSession() in getServerSideProps
if use HTTP and I can getSession() in getServerSideProps is Okay
how can I fixed it on HTTPS getSession() in getServerSideProps?
How to reproduce ☕️
I run the same code on http or https for test
if run with http, I can get the props.session
if run with https, I cannot get the props.session
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Beta Was this translation helpful? Give feedback.
All reactions