Coming soon: The next generation of FrontEndUsers
Posted: Wed Jun 26, 2019 12:31 pm
I have recently been working on some code to refresh the FEU module, clean it up, make it more efficient and documented, and to allow for functionality like Two factor authentication and external authentication.
I am near finished only some testing and documentation remains, and I will be able to release the new FEU v3.0 along with a new registration module a new sample 2FA module using Twillio and a Twitter authentication module.
There are a few new features in the new and upcoming FEU module:
- A new field type or two
- Cleanup of field properties
- New field properties like 'placeholder'
- A cleaner and more efficient, extendable and documented API
- A well documented API
- Extensive use of hooks
- Refactor internal authentication to use 'AuthTokens' (with an expiry) and cookies instead of the session. Cookie data is non personal, obfuscated, and signed. Long term (remember me) cookies can allow a user to remain logged in using the same browser for up to 90 days.
And there will be some breakages in the new FEU v3.x
- Removed all direct integration with the design manager so by default, on new installs all templates are file based. For upgrades you must now specify the name of the design manager template.
- Removed all redirection preferences/settings and allow that to be done in various templates.
- Removed the settings panels and placed all settings in the config.php
- Removed support for the encrypted field type as it was problematic
- Removed ECommerce integration as it was flawed.
--
The new Registration module CGFEURegister replaces Selfreg for FEU v3+. It is small, light weight, and secure. It uses file based templates by default, and has more features than Selfreg ever did. Selfreg will not be upgraded to work with FEU v3+.
--
CGFEUTwillio2FA is a sample module that I implemented to prove two factor authentication. After a user has entered his username and password, It uses Twillio (a paid service) to send an SMS to the phone number associated with an account. The user must enter the code in the SMS into a form in order to complete the login process.
--
The CGFEUTwitterAuth is a simple module that implements Oauth, allowing users to authenticate to your website using the twitter service. Once authenticated, users can change their settings, and interact with FEU normally. The only functionality that is different for users is that they cannot change or verify their passwords.
These changes to FEU are extensive and appear dramatic, so I wanted to give people a heads up. There will be more details in the changelog when everything is released.
Going forward, after FEU 3.0 is released I will be discontinuing maintenance on SelfReg and only addressing critical issues in FEU 2.x for a period of time.
I am near finished only some testing and documentation remains, and I will be able to release the new FEU v3.0 along with a new registration module a new sample 2FA module using Twillio and a Twitter authentication module.
There are a few new features in the new and upcoming FEU module:
- A new field type or two
- Cleanup of field properties
- New field properties like 'placeholder'
- A cleaner and more efficient, extendable and documented API
- A well documented API
- Extensive use of hooks
- Refactor internal authentication to use 'AuthTokens' (with an expiry) and cookies instead of the session. Cookie data is non personal, obfuscated, and signed. Long term (remember me) cookies can allow a user to remain logged in using the same browser for up to 90 days.
And there will be some breakages in the new FEU v3.x
- Removed all direct integration with the design manager so by default, on new installs all templates are file based. For upgrades you must now specify the name of the design manager template.
- Removed all redirection preferences/settings and allow that to be done in various templates.
- Removed the settings panels and placed all settings in the config.php
- Removed support for the encrypted field type as it was problematic
- Removed ECommerce integration as it was flawed.
--
The new Registration module CGFEURegister replaces Selfreg for FEU v3+. It is small, light weight, and secure. It uses file based templates by default, and has more features than Selfreg ever did. Selfreg will not be upgraded to work with FEU v3+.
--
CGFEUTwillio2FA is a sample module that I implemented to prove two factor authentication. After a user has entered his username and password, It uses Twillio (a paid service) to send an SMS to the phone number associated with an account. The user must enter the code in the SMS into a form in order to complete the login process.
--
The CGFEUTwitterAuth is a simple module that implements Oauth, allowing users to authenticate to your website using the twitter service. Once authenticated, users can change their settings, and interact with FEU normally. The only functionality that is different for users is that they cannot change or verify their passwords.
These changes to FEU are extensive and appear dramatic, so I wanted to give people a heads up. There will be more details in the changelog when everything is released.
Going forward, after FEU 3.0 is released I will be discontinuing maintenance on SelfReg and only addressing critical issues in FEU 2.x for a period of time.