Forum Discussion

IlanJay's avatar
IlanJay
Copper Contributor
Dec 26, 2021

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

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.

 

 

 

No RepliesBe the first to reply

Resources