Opened 4 years ago

Closed 4 years ago

#1260 closed Bug (fixed)

Widget VisitsSummary (getEvolutionGraph) doesn't work with token_auth

Reported by: cohaesion Owned by:
Priority: major Milestone: Piwik 0.6.1
Component: Core Keywords: widget, VisitsSummary, volutionGraph, token_auth
Cc: Sensitive: no



Obviously the widget VisitsSummary (getEvolutionGraph) doesn't work with token_auth. When using the following code, I get only a "Keine Daten für dieses Diagramm"-messsage (No data for this chart). If I'm logged in, it works. Other widgets I've tested are working with token_auth.

<div id="widgetIframe"><iframe width="100%" height="170" src="[]=nb_visits&moduleToWidgetize=VisitsSummary&actionToWidgetize=getEvolutionGraph&idSite=1&period=day&disableLink=1&token_auth=473a5af9c096e329f25cac9392c51095" scrolling="no" frameborder="0" marginheight="0" marginwidth="0"></iframe></div>

Change History (1)

comment:1 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2151]) Fixes #1260 Widgetize now explicitely loads privileges based on the specified token_auth from the request. If not found, the request will be authenticated using the fallback login mechanism (cookie).

Note: See TracTickets for help on using tickets.