Hello all, I want to use Cerbos in front end appli...
# help
s
Hello all, I want to use Cerbos in front end application using React, any suggestions how to start with? Thanks
o
Hi @Sai Kumar Gade, Typically, backend will query the cerbos instance deployed alongside your backend when the frontend sends a request to the backend. Depending on the outcome of cerbos check request, backend responds to the frontend whether or not the action is authorized. In addition to this
service
approach, there is another one we call
embedded
where you build your policies with Cerbos Hub and embed it into your frontend. Typically, this is used to decide what to display (a panel, or a button perhaps) in the frontend without going back and forth between your frontend and backend (and cerbos instance).
e
s
Many thanks for the information
will check it out