You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
it's just going forward with mobile app support for TYPO3 Piwikintegration.
Currently there is a problem with generation the authTokens, as
Piwik.org seems to have a static relation between username / password and token!
Out of piwik/plugins/UsersManager/API.php
/**
* Generates a unique MD5 for the given login & password
*
* @param string Login
* @param string MD5ied string of the password
*/
public function getTokenAuth($userLogin, $md5Password)
{
if(strlen($md5Password) != 32)
{
throw new Exception(Piwik_TranslateException
('UsersManager_ExceptionPasswordMD5HashExpected'));
}
return md5($userLogin . $md5Password );
}
This collides with the current idea of a complete independent API Key. (As the apikey field in the db could be calculated automatically ...)
You can set the API code manually to the above value to enable mobile
Apps in the SVN version on [1].
Piwik should check wether the given username/password is correct
and return the correct API Key from the database.
Additionally i would like to have a function getNewTokenAuth(...) for generating a new random API key.
BugFor errors / faults / flaws / inconsistencies etc.wontfixIf you can reproduce this issue, please reopen the issue or create a new one describing it.
is adaption of a post in lists.typo3.org/projects/piwik
Hi,
it's just going forward with mobile app support for TYPO3 Piwikintegration.
Currently there is a problem with generation the authTokens, as
Piwik.org seems to have a static relation between username / password and token!
This collides with the current idea of a complete independent API Key. (As the apikey field in the db could be calculated automatically ...)
You can set the API code manually to the above value to enable mobile
Apps in the SVN version on [1].
Piwik should check wether the given username/password is correct
and return the correct API Key from the database.
Additionally i would like to have a function getNewTokenAuth(...) for generating a new random API key.
SVN:
[1] http://forge.typo3.org/projects/show/extension-piwikintegration
Forum
[2] http://forum.piwik.org/read.php?2,69771
Best regards
Kay
The text was updated successfully, but these errors were encountered: