ddspringle / framework-one-secure-auth

An example fw/1 application with secure single and two-factor (2FA) authentication and session management functions
Apache License 2.0
31 stars 5 forks source link

Decouple from fw/1 and make a dependency #4

Closed ddspringle closed 6 years ago

ddspringle commented 7 years ago

Instead of updating fw/1 in this repo every time it has a new release, it would be better to decouple it from this project and use CommandBox (or manual install of fw/1) to install it as a dependency.

Requires updating box.json, removing the framework directory and updating README install docs to reflect fw/1 as a pre-requisite when installing manually.

ddspringle commented 6 years ago

After exploring box.json dependencies configuration and making several attempts to make fw1 a dependency of this project I could find no way to limit what is delivered by the dependency to only what is needed for this project (the framework directory). All attempts to resolve this (exclusions in box.json) failed and left the end user with the full fw1 project (incl all examples, etc.) and then laid SA on to of it, which caused other issues. For now I will simply continue to update fw1 in this project as new releases are put out.