cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I obtain groups assigned to a user in Cloud Identity Services within my OData service in S4?

LuizZanella
Newcomer
0 Kudos
222

We have an application hosted on BTP Cloud Foundry with authentication configured through Cloud Identity Services. So far, everything works fine.

We can retrieve the logged-in user's data via the approuter and then obtain the user's data from Identity, including their groups and additional information.

The problem is that we need to check some user authorizations based on the groups they are assigned to.

For example, if they are in an approvers group, they can approve certain discount requests.

Once the discount request is approved, it is processed in S4 via an OData service, which is called by the UI5 app through the destination. In the backend, I cannot determine which user is logged into the app or which groups they belong to.

How can we achieve this?

Accepted Solutions (0)

Answers (0)