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

list:users YAML output and token_auth option #2

Open
chriscroome opened this issue Jun 27, 2019 · 1 comment
Open

list:users YAML output and token_auth option #2

chriscroome opened this issue Jun 27, 2019 · 1 comment

Comments

@chriscroome
Copy link

Perhaps it would be nice if list:users could output in formats other than text, for example:

---
users:
  foo:
    email: [email protected]
    superuser_access: true
  bar:
    email: [email protected]
    superuser_access: false

It would also be good to have an option to output the token_auth — this is needed when doing something like automating the adding of Matomo tracking to a WordPress site using the WP-Piwik plugin.

@chriscroome
Copy link
Author

Regarding the suggestion of an option to output the token_auth, this has become more of an issue for me now that Matomo 4.x has encrypted the token_auth in the database — it can no longer be retrieved using a simple MySQL query and also there appears to be no API method that can be used to access it.

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

No branches or pull requests

1 participant