I have a web assembly securely communicating with the hosting server's API, and it's all working well. However, I need to be able to display images that are dynamically generated on the server (I have an API endpoint that generates them), and it seems that on the client all I have is the "<img src=...>" tag to do that. Sadly all that does is produce a 401, since the request for an image doesn't include the token. How do I solve this?
I realize I may not have explained the scenario very well, so feel free to ask clarifying questions.
Thanks a lot!