This object is in archive! 

SSO not doing anything?

Archived Måns Larsson 11 years ago

OK, this is my setup;


Server "A"; My website

Server "B"; UR setup


Both servers can reach the other IP and domain wise.


UR setup by UR people, so that should be OK.


Added SSO Module and filled 2 fields (domain & login url, same in my case).

Added the file "useresponse-sso.class.php".

Added this code after my login sequence is done;

  1. require_once($_SERVER["DOCUMENT_ROOT"] . '/classes/useresponse-sso.class.php');
  2. UseresponseSso::getParameters();
  3. $options = array(
  4. 'domain' => 'xxx.domain.com',
  5. 'secret' => 'XXX',
  6. 'fullname' => $_SESSION["user_firstname"] . ' ' . $_SESSION["user_lastname"],
  7. 'email' => $_SESSION["user_email"],
  8. 'user_id' => $_SESSION["user_id"]);
  9. UseresponseSso::setup($options);
  10. UseresponseSso::script();

So, after I have loged in I hit "Feedback"-button and click on a topic and away I go to my SR setup.


I am not logged in, and an account has not been created. Isnt that what it's supposed to do?

Replies (1)

photo
1

Do you mean that when you login at your main website where OneLogin integration is implemented, you go to the Feedback site of useresponse and account is not created or you are not logged in?


Naturally it should work like this - you login at your page, then go to useresponse location and and account should be either created or you should be logged in.


Please check in code in your browser right after you login at your website to have -

<script type="text/javascript" src="http://youruseresponsedomain.com/sso/[params]


If you don't have it, then you incorrectly integrated SSO.

Replies have been locked on this page!