I have installed SharePoint and Office Web Apps server (both 2013 version) by following all the steps in the Microsoft documentation, but in the end when I try to open any type of Office document, I get the error attached in the image.
I have tracked it with uls viewer does anybody know what is wrong and how to fix it?
Check the server clocks and make sure they are in sync and set to the correct time zone(s). More information here:
http://sharepoint.stackexchange.com/questions/79864/sharepoint-2013-adfs-login-local-token-cache-always-expired
That looks like a permissions issue to me (most issues are permissions issues somehow).