Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-1280

Create a replacement user management module....

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The user management library we use (express-couchUser) relies on express 3.x, and is now apparently completely incompatible with the rest of our gpii.express modules. It instantiates an express 3.x instance and view class that are not aware of any of the middleware associated with the express 4.x instance.

      As Antranig Basman and I have discussed previously, we have come far enough that we need a replacement for this module. This needs to be feature complete and provide end points to:

      1. Log a user in
      2. Log a user out
      3. Confirm whether a user is logged in
      4. Create a new unverified account and send a verification email.
      5. Verify an account using a link provided by email.
      6. Request a "reset password" link via email.
      7. Reset a password using a link provided by email.

      In addition, it should:

      1. provide the ability to resend a verification link

      The previous library sent username and password details to couchDB for verification. It also relied on its session endpoint to confirm whether the user was logged in, and to persist the session cookie. The replacement should verify credentials itself and provide its own session handling.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amb26 Antranig Basman
                Reporter:
                the-t-in-rtf Tony Atkins
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 2 days
                  1w 2d