cancel
Showing results for 
Search instead for 
Did you mean: 

Cloud identity service SCIM api to retrieve personal information

davecor
Explorer
0 Kudos
378

Using the SCIM api, for example  https://xxxxx.accounts.ondemand.com/scim/Users I'm able to get informations about users and group of the IAS through basic authorization for my admin account, and through  bearer token for a system user. But, if I want to get my personal information, and I'm not an Admin user, but easily a user created into IAS, how can i get my informations? 

There is a particular endpoint to use for get my details?

If I try with the current SCIM andpoint I receive 403.

View Entire Topic
MSo
Product and Topic Expert
Product and Topic Expert
0 Kudos

A usual business user does not have the authorization to invoke IAS APIs.
The personal data of a user is 'exposed' via the user profile page. Simply invoke the IAS tenant URL (e.g. https://xxxxx.accounts.ondemand) and then you end up on your user profile (after successful authentication).
In the top right corner of the profile page there is a button 'View My Data' and you'll get all your user profile data displayed.

davecor
Explorer
0 Kudos
Thanks a lot! What you said is true. But consider a specific use case: for instance, all users that I manage via a Cloud Identity Service can log into an application to see a list of books. However, I want to create an API call to return personal information. What is the best way to implement this functionality?
MSo
Product and Topic Expert
Product and Topic Expert
0 Kudos
Well it depends on your role and the security concept of your company.
MSo
Product and Topic Expert
Product and Topic Expert
If you're an application developer/admin, then retrieve the user data from the application. And if you're entitled for programmatic access to SCI then the SP user management API will be an option: https://help.sap.com/docs/cloud-identity-services/cloud-identity-services/user-management-rest-api
Mark_Smith
Active Participant
0 Kudos

Hi there, any idea why the User Management REST API isn't documented in the Business Accellorator Hub? I'm trying to create a CAP service that calls that API and I'm running into some issues (related to Posting).

I'm getting a 415: Unsupported Media Type error only when I call the API in my CAP service. It works fine im Postman. Same headers and payload. 

It would be nice to get more information on this API.