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

When showing the Export URL, clarify that users must use their app token (instead of displaying a token_auth that only works in their session) #16990

Closed
mattab opened this issue Dec 21, 2020 · 2 comments
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Dec 21, 2020

After Matomo 4 upgrade, we got many reports that the "Export URL" feature is now confusing and people can't figure it out.
What's happening is that people expect to be able to copy paste the “Export URL”, and send it to others, but it doesn’t work anymore to use this URL. (since Matomo 4, the token_auth only works for that particular user session).

To improve the situation, here is an idea that we came up with after a short discussion:

When clicking the “Show export URL”, it indicates that the user wants to get the URL and use it. So when people click on it, we could instead

  1. automatically remove the token_auth and replace it by eg. &token_auth=ENTER_YOUR_TOKEN_AUTH_HERE

  2. show the information in the tooltip as a visible warning instead (and tweak the message a bit such as below, or better):

Note: To use the generated export URL, you will need to specify an app token auth. You can configure these tokens in [Admin -> Security -> Auths Tokens.](open the link in a new tab?). Replace ENTER_YOUR_TOKEN_AUTH_HERE in the Export URL by your Auth token.

This would help people achieve their goals of sharing the URL, and reduce confusion.

@mattab mattab added the c: Usability For issues that let users achieve a defined goal more effectively or efficiently. label Dec 21, 2020
@tsteur tsteur added this to the 4.1.0 milestone Dec 21, 2020
@mattab mattab modified the milestones: 4.1.0, 4.2.0 Dec 21, 2020
@tsteur
Copy link
Member

tsteur commented Feb 2, 2021

Note: To use the generated export URL, you will need to specify an app token auth. You can configure these tokens in [Admin -> Security -> Auths Tokens.](open the link in a new tab?). Replace ENTER_YOUR_TOKEN_AUTH_HERE in the Export URL by your Auth token.

It should also say to never ever share this URL with the replaced token with anyone else.

@flamisz flamisz mentioned this issue Feb 17, 2021
9 tasks
@mattab mattab modified the milestones: 4.2.0, 4.3.0 Feb 22, 2021
@sgiehl
Copy link
Member

sgiehl commented Mar 15, 2021

should have been fixed with #17227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

3 participants