Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving Session info in NextJS 14 App Router Server Side: getServerSession() #767

Open
ymonye opened this issue Nov 8, 2024 · 0 comments

Comments

@ymonye
Copy link

ymonye commented Nov 8, 2024

I'm implementing Reown + SIWE in a NextJS 14 App Router website from the below guide:
https://docs.reown.com/appkit/next/core/siwe

Also following the example found here:
https://github.com/reown-com/web-examples/tree/main/dapps/appkit-siwe/next

How on earth to I get the session info on the server side? All examples in the docs are for the client-side (React) frontend using useAppKit.

I need to use the below:

import { getServerSession } from "next-auth/next"

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant