cancel
Showing results for 
Search instead for 
Did you mean: 

Integrate Alfresco with Wordpress by external SSO

alan_nicolas
Champ on-the-rise
Champ on-the-rise

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(){
   if(is_user_logged_in()){
      global $current_user;
      wp_get_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?

1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator

You have to configure the two main components of Alfresco:

Hope this helps Smiley Happy