[Koha-bugs] [Bug 27318] make shibboleth instructions customizable in the loginModal

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 31 00:04:04 CET 2020


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

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 114755
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114755&action=edit
Bug 27318: Add ShibbolethLoginInstructions to News

This patch adds ShibbolethLoginInstructions as an option in the News Tool so
librarians customize the wording within the loginModal
To test:
1. Enable shibboleth in your koha-conf.xml by changng the value of
<useshibboleth> to 1.
2. I also add the following to my koha-conf:
   <shibboleth>
    <matchpoint>email</matchpoint>
        <mapping>
            <email        is="SHIB_ATTR_email"></email>
        </mapping>
    </shibboleth>
3. Look at the OPAC loginModal and make sure something like "If you have a
Shibboleth account, please click here to login." is visiible.
4. Apply patch
5. Go to /cgi-bin/koha/tools/koha-news.pl and make a New entry
6. Choose ShibbolethLoginInstructions and enter something like: '<h1>Sign in
using:</h1>
<a
href="localhost:8080/Shibboleth.sso/Login?target=localhost:8080/cgi-bin/koha/opac-main.pl"><div
class="shibGoogle">Google</div></a>'
7. Reload the OPAC and look at the loginModal again, it should show your new
login instructions instead of the default.

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


More information about the Koha-bugs mailing list