on 01-31-2023 9:29 AM
Hello,
I have exposed a nodejs service in my CAP application and now I need access in external ui5 app (not included in mta of CAP app). The service restricted with 'authenticated-user' is working well, but when the service is restricted with a role I have no access and still 403 error. I am using client_id and client_secret from xsuaa instance of CAP app.
The roles are assigned in BTP.
How can I get access to the secured service?
Thanks in advance for your help.
screens from service.cds file
'authenticated-user' - READ works good
role restricted - need help
I would suggest that you use a destination with Authentication OAuth2UserTokenExchange. That way you can keep your XSUAA instances separate but let a user who has the correct roles assigned for your CAP backend being able to use it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.