AnsweredAssumed Answered

Use alfresco ticket as authentication in external application

Question asked by vbutacu on Dec 5, 2016
Latest reply on Dec 5, 2016 by afaust

Hello,

I developed a php application so there will be a link inside an alfresco dashlet wich points to my php page. I'd like to use the authenticated session of alfresco to authenticate the current user against my external app. I read a couple of articles about alfresco ticket authentication but it's not clear on how can I use this information inside php.

 

Let me give some details of what I need:

My php application does some stuff based on which user is currently calling it so I need alfresco to pass that information to the php app. The easiest way is to pass the username as parameter but this is not secure as somebody could just modify the parameter value inside the link. Is there an easy way to pass the username of the current logged user to an external app in a "hidden" manner?

Outcomes