Two Factor Authentication
SocialStack has a pluggable user authentication mechanism so each authentication provider is modular and can work together. This is particularly useful for two factor authentication where a user and password combination is used, followed by entering a generated value from a physical device. This is just an example combination of course, and this article covers how you might implement it.
Google authenticator
To quickly get started with Google Authenticator based 2FA, install the following two modules:
socialstack install UI/TwoFactorGoogleSetup Api/TwoFactorGoogleAuthThe first provides the UI's which display to the user when they require either setting up or inputting a 2FA pin. The second is the backend module which provides the authentication module itself in to the SocialStack authentication pipeline.
This small module is typically compatible with any other authentication mechanism such as the default password based mechanism.