cancel
Showing results for 
Search instead for 
Did you mean: 

sap cap xs-security grant authorities for various applications

jesinaloa
Explorer
0 Kudos
187

Hello, I am configuring security scopes for several applications that communicate with our SAP CAP, for which we have created application-type xsuaa services for each of them,

however when trying to give permissions in our scope for those services it keeps giving me 401 unauthorized

However when I only add one service to the scope, this one works fine for me Could you help me know what causes this behavior? greetings and thanks

This is the xs-security of my application 


where I give authorization to the UAA application type services

jesinaloa_1-1734099950468.png

 

and this is my xs-security from the UAA service uaaemployeetimes

jesinaloa_0-1734099765662.png

and this is my xs-security from the UAA service uaacitasmedicas

jesinaloa_2-1734099983637.png

 

 

 

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

Hello. Please validate grant-as-authority-to-apps entries and UAA client IDs and use cf oauth-token to inspect tokens and ensure the correct audience and scopes. Bind all relevant UAA services to both app and srv. Also add UAA services incrementally to isolate issues. If you still run in this issue, share relevant server logs for deeper debugging and may open a support ticket.