meteor-feature-requests icon indicating copy to clipboard operation
meteor-feature-requests copied to clipboard

Decouple accounts-password from transports

Open cunneen opened this issue 7 years ago • 1 comments

accounts-password has a tight coupling with email. This is restrictive. While accounts-password has a lot of nifty features (password verification, change, reset etc), email is not the only possible transport. For example, you might want to use SMS, or a DM in Slack or Gitter.

I'm not proposing the implementation of these other transports, just the decoupling of accounts-password's core functionality from the particular transport. The new accounts-password-transport-email would then become the reference implementation.

cunneen avatar Jul 22 '18 03:07 cunneen

I agree, current implementation of accounts-password is too restrictive. It should just provide low-level functions, like providing enrollment/reset token and maybe for specifying callbacks on events.

mariusrak avatar Oct 29 '18 21:10 mariusrak