[Koha-bugs] [Bug 25055] New: Domain name is not included in CAS service= string

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 3 23:15:46 CEST 2020


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

            Bug ID: 25055
           Summary: Domain name is not included in CAS service= string
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: m.ghadam at gmail.com
        QA Contact: testopia at bugs.koha-community.org

I have enabled CAS authentication on my koha which is installed at
library.domain.com

The cas server is installed at cas.domain.com

On the Login page, Koha generates the following link to login to the CAS
server: 

https://cas.domain.com/cas/login?service=%2Fcgi-bin%2Fkoha%2Fopac-user.pl

which is wrong, it should include its base URL in the service for the CAS
server to determine the service and redirecting the user back, so the correct
URL should be: 

https://cas.domain.com/cas/login?service=https%3a%2f%2flibrary.domain.com/cgi-bin/koha/opac-user.pl

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


More information about the Koha-bugs mailing list