rayyu
10 years agoAdept
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!
- You can access it via restadmin in your code.
- 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,