single sign on doubt

(2 posts) (2 voices)
  1. vipin, Member

    Hi ,

    I need to apply on my website,when any one login on my website ,then from my website there should be some link which will redirect to mydbr.

    so at that time it should not ask for agsin login.
    i have already set the environmental setting "token" and "sso url".
    but i get confused for hash calculation

    $hash = sha1( $user . $name . $groups . $token . MYDBR_SECRECT );

    what i need to provide a value for $token ?
    is $group can be blank ?
    Is MYDBR_SECRECT number is a token number which we get from environmental setting could you please confirm this ?

  2. myDBR Team, Key Master

    $token is a random token which myDBR will generate when it makes a request to Single Sign-On server. It will be part of the URL parameters.

    $group is optional so it can be blank.

    MYDBR_SECRECT is the secret value defined in myDBR Environment settings. it is a known seed value for both myDBR and is used to randomize the hash value.

    Please study the Single Sign-On protocol described in the documentation and see also the included examples found in mydbr/user/sso.

    --
    myDBR Team


Reply

You must log in to post.