asgardeo / asgardeo-auth-react-sdk

To maintain the implementation of Asgardeo React authentication SDK
Apache License 2.0
40 stars 91 forks source link

Doesn't give an expected result with response type array-buffer #67

Open rasika2012 opened 3 years ago

rasika2012 commented 3 years ago

Describe the issue: Used SDK to fetch data for Apollo client custom fetch, and used the following configurations for request.

Noticed that the array buffer response type doesn't work properly with SDK, instead of an array buffer object it gives an empty object.

How to reproduce:

  1. Make a request with response type array-buffer

Expected behavior:

with Same configuration Axios and Asgardio image in asgardio, instead of array buffer object it gives empty object

Environment information (Please complete the following information; remove any unnecessary fields) :