@robocoder opened this Issue on April 26th 2009 Contributor

I don't know if this is a regression from #379, but some might expect something like this to work:

$token = Zend_Registry::get('config')->superuser->password;
$request = new Piwik_API_Request('

Instead this returns:

You can't access this resource as it requires a 'view' access for the website id = 1.
@mattab commented on April 27th 2009 Member

if it was working before, this wasn't an expected feature. token_auth is the hash given by the call to UsersManager.getTokenAuth and is a hash of the login and the md5 password.

@robocoder commented on April 27th 2009 Contributor

Oops. My mistake. I was trying to whip up a small example in response to a question on the forum.

This Issue was closed on August 18th 2009
Powered by GitHub Issue Mirror