#Help in nextAuth authontication .

2 messages · Page 1 of 1 (latest)

opaque solar
#

Hello , i am doing authentication using next js with the app router and i have a problem , how can i provide the session , i mean how i can provide the sessionprovider to all the app , like at the top level .

and there is two files in my app folder
app
layout.js
page.js

so i try to provide the session provider to my layout file but still not working even i try to give individual component like page.js and use the login part .

so when i try to login still there is issue even i pass all thing in perfect position .

Any idea about it might help me , thank you 🙂

My english is potato don't mind !!

burnt nestBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)