Access data in Front module without logging in

Trying to build a simple little app that does the following:

  • Registered Users can login at localhost:8080/app and do data entry
  • Guest Users can browse the front at localhost:8080/app-front and browse data without logging in

My problem is how do I select which data/entities I would like to be set as open/public for Guest Users to view and which to not. The REST API as I understood it, will have us get an oauth token first by logging in and then get access to data.

I’m building the frontend-UI in React and quite possibly with Redux as well.

I would appreciate any help. Thanks.

Hi, take a look at this topic: Front without authentication - CUBA.Platform .

In particular this message contains approaches of exposing data for anonymous users.

1 Like