Sometimes, the library wants to control the contents of the library through OPAC especially, periods like pandemic. for instance, providing access to the subscribed journals/databases for the logged users etc. this requirement can be done through the RestrictedPageContent of the OPAC preference.
Go to Administration -- Restricted page
RestrictedPageContent: HTML of the content
RestrictedPageTitle : allows you to put a name on that page.
RestrictedPageLocalIPs : allows you to further restrict the page based on the user's IP address.
The link will be following you can provide it as a link on OPAC, so that when the user clicks it will prompt the login.
http://[opac-base-url]/cgi-bin/koha/opac-restrictedpage.pl
http://[ipoftheopac]/cgi-bin/koha/opac-restrictedpage.pl
Information courtesy: Koha Users Group