Confused about expected auth flow in nextjs supabase template
Hey all - I just created a new Supabase project recently with the latest version of the supabase/nextjs template.
I'm a little confused on the setup here. I think older versions of this template used to include an auth callback API route, but this version does not. After running the sign-up flow, i am redirected to the expected page based on
emailRedirectTo
emailRedirectTo
, plus the
code
code
query parameter
at this point am i expected to implement my own server-side endpoint to do a code exhange? if so, why does the template default to a redirect to
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.