How to extend or use sendVerificationRequest for other providers #1292
Unanswered
gaurangrshah
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey I'm looking for a way to either extend the current functionality of the
sendVerificationRequest()
method to allow a similar auth-flow for credentials based access. A semi-two-factor kind of system. I'd rather avoid spinning up a custom server simply to customize the node-mailer implementation, especially since it already exists.I can also think of how this could be beneficial in several instances, including password resets, but I also see how being able to generate authenticated login access can be a tricky and fickle thing -- which is why I'd like to avoid it if at all possible.
Reproduction
I'm simply looking for a code example if it can be extended. Is there a code example that I am missing, or is the
sendVerificationRequest()
method only available to the Email provider?I tried to determine if there was already an endpoint i could possibly trigger a request but it doesn't seem to be documented if one is in fact exposed.
Also, as a second point, (and I understand how much of a task this can be), but I'd like bring to your attention that many of the links to github examples in the documentation come up as 404's, here's just one example:
ALL of the links here all point to files or repos that no longer exist.
With that out of the way, you have my sincerest thanks for such brilliant work on this project! 👏
Hope that you can point me in the right direction, thanks!
Beta Was this translation helpful? Give feedback.
All reactions