WaspW
Wasp16mo ago
Ramon

Authenticated image download

Hi,

I would like to implement a feature in OpenSaaS/WASP where users can publish some posts with images, but these posts should only be available to authenticated users (images shouldn't be public).

I was thinking of using a WASP api, but then I cannot load images in React with a simple <img src="..."> tag.

What would be your suggestion for implementing authenticated image download? This could probably be a nice default feature for opensaas.

Thanks in advance!
Was this page helpful?