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

Sparklines broken on Widgetize widget when viewed by anonymous (even with token_auth) #13625

Closed
flaviovs opened this issue Oct 18, 2018 · 0 comments · Fixed by #13963
Closed
Assignees
Milestone

Comments

@flaviovs
Copy link

How to reproduce:

  1. Get a URL for the Widgetize widget in Settings > Widgets > Generic > Metric
  2. Go to your account settings and take note ot your token_auth
  3. Log out Matomo
  4. Paste the widget URL into the URL bar
  5. Append your token_auth (i.e. add &token_auth=XXXXX at the end of the URL)
  6. Load the page

Outcome: metric widget loads, but sparkline image is broken

Expected: sparklines image not broken

NB: sparkline URL generated by the URL does not contain the token_url, even though widget has it. If you copy and load the sparkline URL as is, you get redirected to the login page. If you add the token_url parameter manually, then the image loads.

Matomo 3.6.0 / PHP 7.2

@flaviovs flaviovs changed the title Sparklines broken on Widgetize widget (when viewed by anonymous, even with token_auth) Sparklines broken on Widgetize widget when viewed by anonymous (even with token_auth) Oct 18, 2018
@mattab mattab added this to the 3.9.0 milestone Nov 13, 2018
@sgiehl sgiehl self-assigned this Jan 14, 2019
@mattab mattab modified the milestones: 3.9.0, 3.8.1 Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants