Attachment of a file to a data source from a target ServiceNow instance via oAuth

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 06:42 AM
I've a requirement in which i have to fetch an attachment from an instance and attach it to a data source in the first instance using a flow designer action. We have successfully integrated the instances using OAuth 2.0 However when we try to user the 'saveResponseBodyAsAttachment' method, the file does not get attached to the data source.
We noticed that we set a basic authentication with the username and password of a user in the instance , the code gives desired results.
Is there a way to make this work without having to use basic auth at all?
0 REPLIES 0