Quantcast
Viewing all articles
Browse latest Browse all 3131

Problem requesting OAuth Token from ABAP

Hello,

 

I am working on a POC ABAP application which utilizes functionality provided by a HCP extension.  I have been using the Access SAP Hana Cloud Platform using the OAuth 2.0 Client API - Security and Identity Management - SCN Wiki WIKI page as a guide.

 

On the HCP side, we created a new OAuth client for the proper subscription.  The Authorization Grant is of type Authorization Code, and the redirect URL is the URL from the ABAP client created in OA2C_CONFIG.

 

On the ABAP side, we created a Client Profile of type HCP.  We used OA2C_CONFIG to create a new client with the client ID from HCP.  The authorization endpoint and token endpoint URLs were used from the HCP OAuth page. 

 

I went to OA2C_GRANT and requested a token.  I'm taken to the on-demand Authorize Client page.  I click on the Authorize button and an taken back to the OA2C_GRANT_APP web dynpro app on the ABAP server.  The query string has a message that says Client Configuration or Network Problems See kernel traces.

 

We are having a hard time figuring out how to debug this issue.  I don't see anyplace on the HCP cockpit to see kernel trace files. 

 

Can anybody give some suggestions on how to move forward from here?

 

A couple things to note:  The add-on developers told me that they didn't use any scopes in the add-on so I'm leaving that blank in the client profile.  I believe the SSL certificate has been added correctly.  I was able to access the HCP add-on from a test ABAP program okay before the OAuth functionality was added.

 

Thank you for your help and suggestions.

 

Best regards,

John Richason


Viewing all articles
Browse latest Browse all 3131

Trending Articles