Bug 30299 - Create a Registration API to allow for use of email verification when outside systems are registering patrons
Summary: Create a Registration API to allow for use of email verification when outside...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: REST API (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Tomás Cohen Arazi (tcohen)
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-15 18:29 UTC by Nick Clemens (kidclamp)
Modified: 2024-03-20 18:39 UTC (History)
7 users (show)

See Also:
Change sponsored?: Sponsored
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2022-03-15 18:29:56 UTC
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
Comment 1 Kyle M Hall (khall) 2023-05-05 14:26:45 UTC
Thought from Tomas: Use X-Koha-Override
Comment 2 Katrin Fischer 2024-03-04 15:09:03 UTC
+1
Comment 3 Wally DesChamps 2024-03-20 18:39:29 UTC
Most of us use email as our primary communication medium.  Between email client filters, local firewalls, and 3rd party systems such as amazonses, email communication is fast becoming unreliable.  We need an automated way that will quickly verify that the provided email address/communication [initially] works at the new-member application stage.  With the marriages of discovery systems, like Aspen, this is important to be able for companion systems function seamlessly together.