Images from SharePoint List not visible in REACT APPLICATION (SPA)

New Contributor

I am trying to get images from the SharePoint List and display the images in react application. The images are not visible when we log in using GRAPH API (SPA - MSAL Auth)


But when we open the images URL in the new tab and login to SharePoint then images are getting rendered in the react application.

 

All the images URL are returning 302 responses with the URL to authenticate in the network tab.

 

As per my understanding of the issue. the SharePoint needs to authenticate first and using graph API you connect access SharePoint you cannot get authenticated to SharePoint Images using Graph API.

 

 

 

0 Replies