[Koha-bugs] [Bug 30299] New: Create a Registration API to allow for use of email verification when outside systems are registering patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 15 19:29:56 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30299

            Bug ID: 30299
           Summary: Create a Registration API to allow for use of email
                    verification when outside systems are registering
                    patrons
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
                CC: tomascohen at gmail.com

Some discovery systems (Aspen for instance) provide a self registration
function.
Currently the Koha preference 'PatronSelfRegistrationVerifyByEmail' cannot be
utilized via the API.

We propose to add two endpoints:
1 - Registration
    - This will take a borrower object, verify the required/unwanted fields,
and create a patron modification request as on 'opac-memberentry.pl' when
verification is enabled
    - The endpoint will take an option to send/suppress the email from Koha so
that integrating systems may generate their own
    - The endpoint will take an optional return URL to be passed through when
generating the verification email so the outside system can handle the
verification
    - The endpoint will return the verification token
2 - Verification
    - The endpoint will accept the token generated above and complete patron
creation as in opac-registration-verify.pl

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list