Forum Discussion

sylvain_mouquet's avatar
13 years ago

What is difference between id, sso_id and uniqueId ?

Hi,

 

When i generate the SSO token, i set uniqueId value. Lithium generate a new id for this user.

I get this result :

uniqueId : 99999

id : 52300

sso_id : not defined

 

i can access to this user from this url :

/users/id/52300

 

but i cannot access to this user from the uniqueId.

 

The javadoc reference to a sso_id but i dont understand the meaning of this keyword.

In the page Community.html#Community.users.sso_id.sso_id there is this definition :

user.sso_id (optional) : string - The registration date of the new user User.html#User.sso_id string - The SSO id for the user. if i set the sso_id http://lithosphere.lithium.com//community-name/restapi/vc/users/id/43/sso_id/set

 

i  can access to my user with : http://lithosphere.lithium.com//community-name/restapi/vc/users/sso_id/{sso_id}

 

It's the right solution ?

 

Thanks

Sylvain

 

 

 

  • The uniqueId referenced in the SSO documentation should be the user's SSO ID. They're different names for the same thing. 

     

    You should be able to look up a user via the ssoid/uniqueId using the REST API method you mentioned:

    /users/sso_id/...

     

    The id is a numeric value assigned to the user by the community application when the account is created. It's how users are typically referenced in the community application.

  • AdamN's avatar
    AdamN
    Khoros Oracle

    The uniqueId referenced in the SSO documentation should be the user's SSO ID. They're different names for the same thing. 

     

    You should be able to look up a user via the ssoid/uniqueId using the REST API method you mentioned:

    /users/sso_id/...

     

    The id is a numeric value assigned to the user by the community application when the account is created. It's how users are typically referenced in the community application.