Skip to content
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-matomo-user opened this issue May 3, 2013 · 1 comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@anonymous-matomo-user
Copy link

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
Copy link
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-matomo-user anonymous-matomo-user added this to the Future releases milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants