on 2023 Aug 16 4:14 PM
Hi,
I have create a sample CAP application . and choose managed approuter(I am planning to add any UI for now)
I have deployed application to cloud foundry. And bind db,xsuaa which reflected in cdsrc-private.json.
But when I am try to run command (cds watch --profile hybrid). It only load DB information but no XSUAA information.
Resulting Unauthorized error from local. I even checked service in postman with (XSUAA client information) I am getting success.
Another point to be notice , Earlier I have used CDS version 6 that time it works properly.
Please help me on this.
Hi,
We are having the same issue after CDS version 7. When I use "uaa" instead of "auth" in package.json cds.requires section, I don't get 401 and I successfully access. But when we leave it as "auth" and use cds bind -2 command, we are facing 401 unauthorized issue. Perhaps, david.kunz2 can help us here. This problem started occurring after CDS 7.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi david.kunz2 ,
Thanks for your reply.
I am not sending any jwt token. Actually I have added sample(Book) application and configured managed approuter(from mta.yaml). and add simple list-report fiori app.
Then I have done mta build and deploy. After that I have bind ed db,xsuaa,destiontion service (cds bind -2) with keys.
And run cds watch --profile hybrid. It giving unauthorized. But If I change cds 7 to 6. it started working.
I have tried hit odata(CDS 7) via postman (oath2) it worked. But couldnt run locally
User | Count |
---|---|
67 | |
10 | |
10 | |
10 | |
10 | |
8 | |
8 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.