I have an auth link emailed to a user from my app that looks like this
I expected the URL to go to my redirect screen at https://www.mywebsite.com/redirect but I get a 404 because I assume it does not expect everything after /redirect
. How can I handle this in next and then possibly parse the URL to grab the redirect params to redirect the user?