You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have embeded the Live Plugin as a widget (iframe) into an external website.
Since I have updated to the 1.4 version of Piwik, whenever a user enter on the page where the widget is embeded, he is redirected to the Piwik login screen with en error message "you cannot access this resource, a 'view' permission on site XX is required".
It seems that the problem comes from the controller of the Live plugin which makes calls to Piwik_API and Piwik_Live_API without having authenticated the user.
Here is a patch that ensures that the authentication token is used to authenticate user before starting to use the API.
Keywords: live widget
The text was updated successfully, but these errors were encountered:
Yes, it does work.
If you are logged in Piwik and go to the page with the embedded widget, it works as well.
It seems that the problem comes from some functions in the Piwik_Live_API that check whether the user has view access to the site before doing anything.
I have embeded the Live Plugin as a widget (iframe) into an external website.
Since I have updated to the 1.4 version of Piwik, whenever a user enter on the page where the widget is embeded, he is redirected to the Piwik login screen with en error message "you cannot access this resource, a 'view' permission on site XX is required".
It seems that the problem comes from the controller of the Live plugin which makes calls to Piwik_API and Piwik_Live_API without having authenticated the user.
Here is a patch that ensures that the authentication token is used to authenticate user before starting to use the API.
Keywords: live widget
The text was updated successfully, but these errors were encountered: