cancel
Showing results for 
Search instead for 
Did you mean: 

CSRF Token for API_CV_ATTACHMENT_SRV via OAUTH

peter_munt4
Participant
0 Kudos

Hi

I am calling the API_CV_ATTACHMENT_SRV to POST attachments via OAUTH

The API for POST of attachments requires a CSRF Token but it seems I am not able to request it using OAUTH - only Basic Authentication will return it in the x-csrf-token response header.

Why can't I use OAUTH for both?  

Accepted Solutions (0)

Answers (1)

Answers (1)

Enda
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello 

 

There's a good blog https://community.sap.com/t5/enterprise-resource-planning-blogs-by-sap/maintain-assignment-of-docume... that outline how to setup 

API_CV_ATTACHMENT_SRV to use OAuth 2.0

 

Best Regards

Enda