Auto fetch auth token for third party application

Hi

We have been using matomo from version 1.12 up to 3.13.6 and used to embed dashboard in third party application after fetching auth_token for each user from database but now after upgrade to 4.6.2 it looks matomo does not provide it through API or even by querying database .

Now problem is we have many users and users keep adding and for that we need their auth token to display dashboard in third party application , in this scenario what could be done ? We do not want to ask users every time about auth token .

Thanks

Hi ,

I’m able to get token for non-super users using following api:
UsersManager.createAppSpecificTokenAuth

Hope it would helps someone .