New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a feature to auto-archiving that makes it compatible with CAS plugin #3923

Closed
anonymous-piwik-user opened this Issue May 3, 2013 · 1 comment

Comments

Projects
None yet
2 participants
@anonymous-piwik-user

anonymous-piwik-user commented May 3, 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

This comment has been minimized.

Show comment
Hide comment
@mattab

mattab Jan 13, 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!

Member

mattab commented Jan 13, 2014

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

@anonymous-piwik-user anonymous-piwik-user added this to the Future releases milestone Jul 8, 2014

@mattab mattab added the R: worksforme label Aug 3, 2014

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment