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
Problem with token authentication #11312
Comments
Do you maybe have a screenshot? Where do you see the error? Is is showing the page with data and the error? |
This should be related to #11055 and was maybe fixed in 3.0.1-b3 |
We're still having this issue with 3.0.1. |
|
we can be contacted at: http://piwik.org/contact/ |
@mattab Here is a paste of my observations from jan 19 (ticket #11135) Our piwik installation updated from 2.17.0 to 3.0.1 on the weekend. Since this update our users can no longer use the widgetized dashboard with the same error described here. Is it possible that this problem is not yet completely fixed? See the following screens: This has the method=API.getWidgetMetadata Request opened. There's a valid "token_auth" under form data (post). So here it this seems to work Is it possible that is problem was regarded as solved because the "test user" was logged in into the backend anyway? Because in that case the token_auth doesn't seem to matter and the dashboard's widget would therefore work nevertheless. |
In addition to that. I updated our piwik installation from 3.0.1 to 3.0.2b4. The Problem still exists. I will send you an url to a widget example via the aforementioned contact form in a moment. Thanks in advance! It would be greatly appreciated if you could fix the issue. Maybe even in 3.0.2 ;) We have lots of people complaining. |
Looking at the URL the problem is that you are using the Dashboard module directly instead of going through the Widgetize module. The URL needs to look like this: http://demo.piwik.org/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=3&period=week&date=yesterday |
Thanks a lot! |
Piwik Version 3.0.0
Hi! Since updating to 3.0.0 we are receiving errors with the api token authentication.
The token url:
http://piwik.ourdomain.at/index.php?module=Widgetize&segment=pageUrl==http://link_to_some_page/&action=iframe&columns[]=nb_visits&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=34&period=week&date=today&disableLink=1&widget=1&token_auth=[insert token]
will show this error message:
Fehler: Sie können auf diese Ressource nicht zugreifen, da es mindestens 'view'-Rechte für die Website-ID 34 benötigt.
Anmelden
(Error: You can't access this ressource, you need at least "view" rights for website-ID ...)
The user, whom the token url belongs to, can see this page, so the error is misleading.
The text was updated successfully, but these errors were encountered: