There is a dilemma for web developers with images loaded from CDNs or APIs. Regular <img> tags can't set an Authorization header with a token for the request, like you can do with fetch() for API requests. The only possibility is adding a token to the URL or by using cookie authentication.
Cookie auth only works if the CDN is on the same domain, even a subdomain can be problematic in many cases.
andix|2 years ago
Cookie auth only works if the CDN is on the same domain, even a subdomain can be problematic in many cases.
internetter|2 years ago
blue_green_maps|2 years ago