Hello! I'm having a weird issue with supertokens a...
# support-questions-legacy
m
Hello! I'm having a weird issue with supertokens and nextjs. When I call
getSession
in
getServerSideProps
everything works fine. But when I call it in an api route, it always throws this error
Copy code
type: 'TRY_REFRESH_TOKEN',
  message: 'anti-csrf check failed',
Has anyone experienced something similar?