I'm trying to find a way to display the image in my react app. The image I need requires a bearer token, in other words When I access this image, I need to pass a header with the bearer token. I'm moving from react-native to react, so in react-native, I can directly give header in Image component, but it seems like I can't pass header in img tag which is html tag. So my question is how to display an image that required bearer token to access it in react.