on 05-11-2023 3:04 PM
We have an XSJS application that is getting connected to CPI. There is a Job scheduler that runs this XSJS application and fetches data from the HANA Database and pushes that to SAP CPI endpoint.
Current Situation -
- Connectivity between SAP HANA Work Bench & CPI is Basic Auth.
- We need to uplift authentication from Basic Auth to OAuth2.0
Below blogs were used as reference to implement and test oAuth 2.0 authentication.
OAuth2 Authentication using HANA XS – XS OAuth client lib calling Google’s API (2) | SAP Blogs
https://github.com/gregorwolf/XSauthLevelPoC/commit/e5b5f6d6f7889ade249b54b40f5efaf8b448d789
While debugging we were getting the below result.
Getting valid token as False.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.