Custom pages ability as function
Summary of proposed feature Instead of strict string, it would be great to be a function | string for https://next-auth.js.org/configuration/pages
Purpose of proposed feature For some reasons I have multiple routes for sign-in and I would like to add for each route a custom page
Detail about proposed feature This function should have the next-auth route as first parameter and current route of app as second parameter
Potential problems I don't think there will be any problems
Additional context

Please indicate if you are willing and able to help implement the proposed feature. Yes
Also for signUp callback, should have another parameter called options and should be a forward of the second argument. call: signIn('google', { callbackUrl: url, ...otherProps }) callback: signIn: async (user:, account, profile, options)
Hi, there could you please elaborate a bit more on your use case?
Hi there! It looks like this issue hasn't had any activity for a while. It will be closed if no further activity occurs. If you think your issue is still relevant, feel free to comment on it to keep it open. (Read more at #912) Thanks!
Hi there! It looks like this issue hasn't had any activity for a while. To keep things tidy, I am going to close this issue for now. If you think your issue is still relevant, just leave a comment and I will reopen it. (Read more at #912) Thanks!