Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid url passed to sendVerificationRequest when NEXTAUTH_URL_INTERNAL is set #6983

Closed
baptisteArno opened this issue Mar 17, 2023 · 1 comment
Labels
providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.

Comments

@baptisteArno
Copy link

baptisteArno commented Mar 17, 2023

Provider type

Email

Environment

System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 295.33 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.7.0 - /opt/homebrew/bin/node
npm: 9.5.0 - /opt/homebrew/bin/npm
Browsers:
Chrome: 111.0.5563.64
Firefox: 106.0.4
Safari: 16.2

Describe the issue

When NEXTAUTH_URL_INTERNAL is set, and you provide a sendVerificationRequest, the url prop is starts with NEXTAUTH_URL_INTERNAL

How to reproduce

Email provider with custom sendVerificationRequest and NEXTAUTH_URL_INTERNAL set

Expected behavior

It should instead start with NEXTAUTH_URL

@baptisteArno baptisteArno added providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime. labels Mar 17, 2023
@baptisteArno
Copy link
Author

Duplicate of #6949

@baptisteArno baptisteArno closed this as not planned Won't fix, can't repro, duplicate, stale Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
providers triage Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Projects
None yet
Development

No branches or pull requests

1 participant