@anonymous-matomo-user opened this Issue on May 3rd 2013

Currently, auto-archiving cannot be used if Piwik's authentication is configured to use the CAS plugin. I ran into this problem with authentication when running archive.php with CAS plugin enabled on my site:

# su www-data -c "/usr/bin/php5 archive.php --url=https://piwik.example.org"
PHP Notice:  Undefined index: QUERY_STRING in /var/www/piwik/plugins/CASLogin/CAS/CAS.php on line 36
PHP Notice:  Undefined index: HTTP_HOST in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2656
PHP Notice:  Undefined index: SERVER_PORT in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2666
PHP Notice:  Undefined index: SERVER_PORT in /var/www/piwik/plugins/CASLogin/CAS/CAS/client.php on line 2668
<html><head><title>CAS Authentication wanted!</title></head><body><h1>CAS Authentication wanted!</h1><p>You should already have been redirected to the CAS server. Click <a href="https://cas.example.org/login?service=http%3A%2F%2F%3Aarchive.php&gateway=true">here</a> to continue.</p><hr><address>phpCAS 1.1.3 using server <a href="https://cas.example.org/">https://cas.example.org/</a> (CAS 2.0)</a></address></body></html>

Add a feature to auto-archiving, so that it can succeeds when Piwik uses CAS for authentication instead of the default Login module.
Keywords: auto-archiving, cas

@mattab commented on January 13th 2014 Member

There is no CAS plugin for Piwik 2.0 yet, please create a new ticket if you have the problem with 2.0!

This Issue was closed on January 13th 2014
Powered by GitHub Issue Mirror