AtlasOfLivingAustralia / webapi

Atlas Web service API app
https://api.ala.org.au
1 stars 6 forks source link

Login on webapi front page causes an error page to be displayed. #7

Closed sbearcsiro closed 9 years ago

sbearcsiro commented 10 years ago

Attempting to login to ALA via the webapi home page will cause an error to occur. The log will contain something like this:

Oct 15, 2014 4:13:45 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [gsp] in context with path [] threw exception [org.jasig.cas.client.validation.TicketValidationException: 
                ticket 'ST-176-kjPd5l5OpIA1m52TUczK-cas' does not match supplied service.  The original service was 'http://api.ala.org.au' and the supplied service was 'http://api.ala.org.au/'.
        ] with root cause
org.jasig.cas.client.validation.TicketValidationException: 
                ticket 'ST-176-kjPd5l5OpIA1m52TUczK-cas' does not match supplied service.  The original service was 'http://api.ala.org.au' and the supplied service was 'http://api.ala.org.au/'.
sbearcsiro commented 10 years ago

The issue seems to be the way the login URL is constructed in grails-app/views/layouts/main.gsp

m-r-c commented 9 years ago

This has been fixed in version 0.2