next-auth
next-auth copied to clipboard
what about allowing us add some searchParams to callbackUrl?
Description 📓
We don't use email action flow first and allow users to write their username before oauth (we can promise that username is not duplicate in this step). I wanna to push the username to the callbackurl in the redirect_uri sent to oauth's authorize end point. But why it will be limited to use 'url.origin' to callbackUrl and can not be customizable.
How to reproduce ☕️
Contributing 🙌🏽
Yes, I am willing to help implement this feature in a PR