@anonymous-piwik-user opened this issue on April 1st 2010


Thanks to the post [#5655], I added thoses lines in plugins/Login/Login.php on line 68:

if(Piwik::getModule() === 'Widgetize')
           $tokenAuthAPIInUrl = Piwik_Common::getRequestVar('token_auth', '', 'string');
         if( !empty($tokenAuthAPIInUrl))
                $auth->setLogin($login = null);

With thoses, token_auth work in the widgetize and the user retreive his settings without login . But I must set view permission for the Anonymous. How could I do, if I want that the Anonymous is set to no access ? In other terms, The token_auth in the url must log the user. Thanks

@mattab commented on April 1st 2010

Widgetize works without this hack, as long as you manually add token_auth in the widget URLs. The only known issue is with the last visit summary plugin: #1260

This issue was closed on April 1st 2010
Powered by GitHub Issue Mirror