0

I'm working on an art portfolio website for a client, and she requires that some of her art is hidden from public view and only viewable by her company. I'm using the Strapi CMS with a react frontend. Currently the frontend gets all the art images from strap with one request http://localhost:1337/api/portfolio?populate=%2A. How can I have a password protected route using Strapi for certain images?

I've looked at https://strapi.io/blog/protected-routes-and-authentication-with-react-and-node-js-1 and https://strapi.io/blog/protected-routes-and-authentication-with-react-and-node-js-1 but I'm not sure which parts are relevant to my use-case and find them quite hard to follow. I wondered if anyone with Strapi experience could help me out here?

George Garman
  • 83
  • 1
  • 6
  • So you don't need to protect routes? Please clarify what the issue is and edit your post to include a [mcve] for what you are trying to do. – Drew Reese Oct 16 '22 at 19:22

0 Answers0