next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

what about allowing us add some searchParams to callbackUrl?

Open LiuN1an opened this issue 2 years ago • 0 comments

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 ☕️

image

Contributing 🙌🏽

Yes, I am willing to help implement this feature in a PR

LiuN1an avatar Sep 17 '22 17:09 LiuN1an