Closed gooodsoil closed 1 year ago
@gooodsoil is attempting to deploy a commit to the Vercel Solutions Team on Vercel.
A member of the Team first needs to authorize it.
Thanks for noticing this! In our case it still works because we can also perform the code exchange client side, but you're right, better to do it in the callback. Fixing here: https://github.com/vercel/nextjs-subscription-payments/pull/218
Storing the user's session in a cookie does not work without this code.
This makes sure that
getURL()
when called in AuthUI.tsx redirects to theauth/callback
endpoint.Is this correct thinking? I noticed with out this I would have a buggy experience in my app