cancel
Showing results for 
Search instead for 
Did you mean: 

oAuth Configuration between HANA XS and CPI Neo platform

former_member786590
Discoverer
0 Kudos

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://help.sap.com/docs/SAP_HANA_PLATFORM/b3d0daf2a98e49ada00bf31b7ca7a42e/935805ae7f6641289a266b6...

https://github.com/gregorwolf/XSauthLevelPoC/commit/e5b5f6d6f7889ade249b54b40f5efaf8b448d789

While debugging we were getting the below result.

Getting valid token as False.

Accepted Solutions (0)

Answers (0)