next-auth-steam icon indicating copy to clipboard operation
next-auth-steam copied to clipboard

Question about `app-router-get-server-session` example.

Open tbntdima opened this issue 4 months ago • 1 comments

Hi, I have a question about app-router-get-server-session example.

Based on the next-auth docs, it is required to pass the options to getServerSession. In the example we are not passing anything and still get the session. I'm a bit confused why it works. In addition, we cannot really pass options since we need to wrap options with handler(req, ctx). Can you please direct me to some sources I can read to understand it or explain it? 🙏

tbntdima avatar Oct 07 '24 15:10 tbntdima