2024 Dec 05 9:50 PM - edited 2024 Dec 13 2:28 PM
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
and this is my xs-security from the UAA service uaaemployeetimes
and this is my xs-security from the UAA service uaacitasmedicas
Request clarification before answering.
To resolve the 401 Unauthorized error when granting multiple apps authority in SAP CAP, the UAA service must be bound to both the app and the CAP service, as both need proper security configuration.
Please double-check that the scope and client IDs in xs-security.json match exactly, including case sensitivity and use cf oauth-token to ensure the token includes the correct scope and audience for all apps. If it works with one app, add apps one by one to isolate the issue. If the problem persists, review the UAA configuration and ensure it’s consistent for both applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
48 | |
6 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.