Situation: App works fine can login and use combu just fine in standalone and unity editor, then i use iphone ... doing tests, login logout login again... etc the problem is when if i try to login via unity editor after ios got "login failed: Unauthorized request". Combu admin says that user is online... If i try to login via iphone again its works! Looks like problem appears after ios login... Appreciate any advise.
If i set SignatureTimestamp to 0 manually via phpAdmin it resets and can login again, once use iphone login it make authorization from unity editor error again....
It's probably SignatureTimestamp that invalidates your request, it's sent in every request and is updated in the table (though it's System.DateTime.Ticks so it depends on the system platform you login with, for example a difference in date/time between two platforms may cause your issue).
FRANCESCO CROCETTI @ SKARED CREATIONS
Skared Creations said
It's probably SignatureTimestamp that invalidates your request, it's sent in every request and is updated in the table (though it's System.DateTime.Ticks so it depends on the system platform you login with, for example a difference in date/time between two platforms may cause your issue).
So my question how importan that SignatureTimestamp security validation? and what if and how can i disable it for my mobile project. If it possible at all? its not a bproblem in this case, just want to make my debug/test time make easyier
For debug only you could disable the security check at line 63 of /lib/api.php just set the define SECURITY_ENABLED to FALSE.
FRANCESCO CROCETTI @ SKARED CREATIONS
Skared Creations said
For debug only you could disable the security check at line 63 of /lib/api.php just set the define SECURITY_ENABLED to FALSE.
Thank you very much.