Dashboard-widget ignore token_auth


#1

Hello community,

first…sorry for my bad english, my german is better :slight_smile:

My problem, i use the iframe-code to integrated some piwik-widget in my website.
All iframe-widget displayed without any problems, only the dashboard-widget is a problem.

I use following code:


<iframe width="100%" scrolling="yes" height="3000" frameborder="0" marginwidth="0" marginheight="0" src="http://www.xxxx.de/piwik/index.php?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=1&period=week&date=yesterday&token_auth=abcdxyz"></iframe>

If i log in the piwik-admin; the iframe show the dashboard-widget with no error.
But if i not log in to the piwik-admin, the iframe show no dahsboard…only a few error-messages:

Sie können auf diese Ressource nicht zugreifen, da es mindestens view-Rechte benötigt …

The token_auth is controled more and more.
I think, the dashboard-widget ignored the token_auth-parameter.

PIWIK-Version 1.3

Can everybody help me?!

Best regards

Gerd


(vipsoft) #2

This is an open issue. Dashboard & Sparklines should work when embedded with token_auth · Issue #1353 · matomo-org/matomo · GitHub