Yep, that fixed it. Moving my data fetch from getServerSideProps into a useEffect in the default function causes the cookies to be sent over and the session to be available.
r
rp_st
06/20/2022, 4:52 AM
Hey @[BR1]Sky So is the issue fixed?
rp_st
06/20/2022, 4:53 AM
We also have a page about how to do session management in getServerSideProps page. But that only works as long as your apiDomain and websiteDomain values are the same
u
[BR1]Sky
06/20/2022, 6:17 AM
Hi @rp_st thanks for the response, and great package and docs. Much appreciated. Yep, the issue is fixed. You can use my url shortener hobby project if you like, it's up using managed supertokens core now.
https://shtl.ink
it's usable anonymously, but you can also create an account to have short urls that only you can modify.
The api docs are at https://api.shtl.ink/docs.
Appreciate you! 🙂
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).