I’m trying to add users from a rails app. When I add them, I would like to get the auth token (to pull the dashboard on user specific sites) and save it to the user in my local db. Is it possible to do this remotely if the app itself runs as the superuser? I would prefer to automate this step to avoid have each user to sign in to piwik manually and enter the token manually for storage.
Any help is much appreciated!