Description 📓
I think it's fairly common to configure the site's origin in a variable and right now if you want to use NextAuth you need to duplicate this information in one more variable.
To avoid this maybe NextAuth could support configuring this variable to point to another one. Something like:
NEXT_PUBLIC_ORIGIN=https://mysite.com
NEXTAUTH_URL_VARIABLE_NAME=NEXT_PUBLIC_ORIGIN
How to reproduce ☕️
N/A
Contributing 🙌🏽
No, I am afraid I cannot help regarding this
Description 📓
I think it's fairly common to configure the site's origin in a variable and right now if you want to use
NextAuthyou need to duplicate this information in one more variable.To avoid this maybe
NextAuthcould support configuring this variable to point to another one. Something like:How to reproduce ☕️
N/A
Contributing 🙌🏽
No, I am afraid I cannot help regarding this