Bug 33084 - OPAC self registration users greeted by error message due to "safe link" service.
Summary: OPAC self registration users greeted by error message due to "safe link" serv...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-28 09:56 UTC by Andreas Jonsson
Modified: 2023-03-06 07:13 UTC (History)
1 user (show)

See Also:
Change 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 Andreas Jonsson 2023-02-28 09:56:18 UTC
Microsoft Office 365 redirects clicked links in emails to a "safe links" service.  The "safe link" service will probe the link before redirecting the user, which means that if the registration is completed by the GET-request, the process is already done by the time the user loads the registration page.

The user will then be greeted with an error message that declares that the registration process failed, although the account have actually been created.

In general we should not make database modifications based on GET-requests.  I propose that the verification link should land on a page with a button which needs to be clicked to send a POST-request to complete the registration.