Forum Discussion

rayyu's avatar
rayyu
Adept
10 years ago

Access sso_id issues

Hello!

 

I need to access a user's sso_id to pass it to JavaScript for tracking purpose. So far the only way I can see to access it is via the REST API like "/restapi/vc/users/id/65". But the sso_id node goes away when I'm logged in as a regular user instead of an admin.

 

Is that expected? Is there any other way to access the sso_id?

 

Thanks for any help in advance!

  • Hi

    The SSO ID is considered private information and as such is not possible to access it without administrative rights. You can use restadmin in freemarker as long as you are aware of the above concept. Using restadmin is a power user feature and it should be inline with the access rights that you intend to enforce on your data.

    Hope it helps,
  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    Hi

    The SSO ID is considered private information and as such is not possible to access it without administrative rights. You can use restadmin in freemarker as long as you are aware of the above concept. Using restadmin is a power user feature and it should be inline with the access rights that you intend to enforce on your data.

    Hope it helps,