AnsweredAssumed Answered

Integrate Alfresco with Wordpress by external SSO

Question asked by alan.nicolas on Sep 26, 2016
Latest reply on Oct 21, 2016 by openpj

Hello everyone! i'm triying to display my Alfresco Share into an iFrame in wordpress, i followed this doc External SSO and i'm triying use this code for add a http request to my header


function addHeader(){
      global $current_user;
      header("SsoUserHeader: ".&current_user->user_login);


But is giving me an error like this:

getting Refures to execute script from '*' because its MIME type ('text/html') is not executable
and strict MIME type is checked

I don't know if i'm doing the correct, but i can't understand this phrase in the doc : 

Alfresco Share can be configured to accept a user name from an HTTP header provided by an external authentication system for Single Sign on (SSO).

What can i do?