Hi guys, the article has gotten me as far as a successful authentication, for which am grateful. However, I am unable to get the session data using getSession() or useSession() client-side for which they both return null. What are the possible causes of the bug/issue?
Hi guys, the article has gotten me as far as a successful authentication, for which am grateful. However, I am unable to get the session data using
getSession()
oruseSession()
client-side for which they both return null. What are the possible causes of the bug/issue?Have you added the Provider in your _app.js ?
for me it returns undefined.
Did you solve your problem? If yes, can you explain me how?