cancel
Showing results for 
Search instead for 
Did you mean: 

Non-Admin User update personal info on SAP Cloud Identity

e_giunta
Participant
0 Kudos
248

Hello everybody,

I have to develop an app with the follow requirement: the end user can view and modify his personal data. The users who can access this app are registered on the SAP Cloud Identity.

By reading the API documentation (https://help.sap.com/viewer/6d6d63354d1242d185ab4830fc04feb1/Cloud/en-US/cce8d64eed1c4d8d8311147336ffe2eb.html) the developer can use:

- USER REGISTRATION REST API, usable by the non-administrator user

- SCIM REST API, usable by the user administrator for the end users management

The USER REGISTRATION REST API seems to be the right solution: unfortunately using the PUT method the end-user is authorized to update the status of their profile (-> inactive), but not to update email, name, surname etc ...

The only way seems to use the SCIM API but this solution seems not suitable for non-administrator users (who must be able to access only their users and not all).

Does anyone have any idea how to solve this problem?

View Entire Topic
0 Kudos

Hi Eugenio,

Your application should be able to manage all users data, so it will act as administrator and the SCIM API is the right way to go. Of course you have to develop your application that users can edit only their own data. The other option is to re-use, redirect the user to their built-in profile page like https://accounts.sap.com

Best regards,

Valentin

e_giunta
Participant

Hi Valentin,

I opted for a solution similar to the one you propose, where the non-admin user is redirected to the personal page of the Cloud Identity Authentication profile (https: // <tenant-id> .accounts.ondemand.com) where he can manage his informations.

Thanks for answer.

Eugenio