on 08-10-2023 1:07 PM
We set up a CAPIRE application in cf and added it as a OAuth2SAMLBearerAssertion destination.
Cheking the connection in the cockpit return "200 OK", using the app from the browser works with authentication and all.
But calling the destination from another UI5 app always returns "500 Internal Error".
Also trying to access the destination (lets call it mycapserver) from BAS with
curl -v -i "mycapserver.dest/data/InformationSet"
returns a 500.
The log of the app confirms no request arrives at the server.
Is there a way to debug this ?
For the records: I had multiple Problems in the Destination definition, HTML5.ForwardAuthToken was set to true and the Authentication was wrong.
Correct settings for this scenario:
* Cap Service needs to have "jwt" as auth in package.json
* Destination called from CF Launchpad to CF: Proxy Type Internet, Authentication OAuth2UserTokenExchange
* Destination called from NEO Launchpad to CF: Proxy Type Internet, Authentication OAuth2SAMLBearerAssertion
* The Application router part of the CAP Application is not necessary (is only needed if you want a quick client), the destination must point to the cap service.
Now we have a CAP Service running on CF that can be accessed from Neo Portal and CF Launchpad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.