ActiveAuthentication

Devise is good for the omnibus, but I’d like to make more of the core ingredients directly accessible. Like we did with has_secure_password. We were thinking of doing this for 2FA and WebAuthn, by extracting the elemental pieces from HEY.

Not a big fan of doing anything that has any user-facing elements to it, though. So controllers and views is less appealing than model extractions. When you’re trying to extract elements that aren’t styled or given a specific flow.

What other elements from Devise might we think fit this criteria?

6 Likes