Does Discourse support OTP signups

I don’t know the answer, however I would like to have a node js app that performed a whitelisted email check, if valid called magic.link, and sent the 6-dgiti code to that email address for authorized user entry to the discourse site. Anyone done this around discourse, I do so with my static html sites.