CWRUChielLab / CASAuth

A modified version of the CASAuth plugin found here: http://www.mediawiki.org/wiki/Extension:CASAuthentication
11 stars 5 forks source link

Can't logout #13

Open Emi94 opened 3 years ago

Emi94 commented 3 years ago

When I press logout I get this message in the web UI: Could not connect to the server. Make sure you have a working internet connection and try again. Mediawiki server has no problem reaching the CAS server.

And this is thrown in the apache2 logs [Wed Feb 10 07:41:23.512520 2021] [php7:warn] [pid 1687451] [client 192.168.0.100:45136] PHP Warning: session_set_save_handler(): Cannot change save handler when session is active in /var/www/html/extensions/CASAuth/CAS/source/CAS/Client.php on line 1116, referer: https://wiki.domain.com/index.php/Main_Page

Note: Mediawiki version is 1.35.0, php is 7.4 and $CASAuth["LogoutServers"][]='cas.domain.com'; $CASAuth["LogoutServers"]=true;

tpokorra commented 3 years ago

I still need to press F5 to reload the page.

perhaps this is related to https://www.mediawiki.org/wiki/Topic:W5nyw48nx1pc2lsy

tpokorra commented 3 years ago

My browser console shows:

Content Security Policy: The page's settings blocked the loading of a resource at https://example.org/api.php blockiert ("default-src").