ryanbahan

Results comments of ryanbahan

Ah, gotcha. Thanks for the quick response on this. Yeah I was planning to manually set a fixed staging URL anyways, using VERCEL_URL was more of just a workaround so...

Another one on [https://next-auth.js.org/configuration/pages](https://next-auth.js.org/configuration/pages) Second paragraph of **Email sign in page** _This is easier of if you use the build in signin() function, as it sets the CSRF automatically._ Should...

@iaincollins @timoweiss Thanks for explaining this further and sharing that code snippet! This was super helpful.

This is essentially what I'm trying to figure out as well, as logged in [#366](https://github.com/iaincollins/next-auth/issues/366)

That sounds good! I can't imagine a need to make this a breaking change either.

My current solution is to check for session on the server, but do the redirect on the client if necessary. I'll dig into this a little bit more soon, and...