Builder public api key
03bbe3ee2de245dd8f0001b359486d3f
What are you trying to accomplish
I’m trying to make builder pages private and only accessible to authenticated users within my app. I followed this post Create Private Pages that are accessible only after authorization and was able to successfully get the page from the content api. However, where I’m running into an issue is getting the content to render in the builder component.
The content results array is being passed into the content property but the content never renders.
As a side note, I see 401 errors in the logs which appear to be coming from builders default behavior which is trying to load the page on init. How can I prevent that and only use the data I’m fetching from the content API?
This doesn’t seem to address my specific use case where I need fetch private pages from the builder API and display the component to authenticated users. Do you have any guidance for that?
This is what I’ve been trying. I’m fetching the content from the content API and passing the results object into the content property of the builder-component. However, nothing renders on the browser.