Issues with Magic Links

Hi, I'm new to Supabase. I'm having the following issues with magic links:

  1. Sometimes clicking on the link does not seem to authorize me. It opens my app and the pages/index.js
    getServerSideProps()
    redirects to my signin page. This is intermittent although it seems to be happening more frequently in the last few hours. When this happens, if I wait a minute or two it sometimes just magically redirects to the home page. So perhaps this is a latency issue as far as setting the session on Supabase?
  2. After authenticating, calling req.cookies["sb-access-token"] in an API route sometimes returns
    undefined
    . This too is intermittent. Other times I can see the cookie and it matched what I see in the developer tools.
Has anyone else had a similar issue? Is there anything specific I should try?
Was this page helpful?