Is it possible for me to create a Page that can only be viewed privately? I have certain pages on my site that should only be accessible after login
I can control that flow on my application - but nothing stops someone from using my public builder api key from my deployed source code to bypass my frontend (which serves as a proxy to Builder)
You can do this using a recently added model setting called public readable. You can go over to builder.io/models and choose your model and hit show more options under model settings and then find the public readable option and turn that off and save your model, e.g. perhaps make a new private-page model of page type with this setting switched off
Should this work in Angular? I’m able to fetch the data from the content API but the builder component doesn’t render. I’m passing the content.results[0] how it’s shown above in this thread.
Yes, this should work in angular, we have used your code provided at Private Page Authentication - #5 by spm922 and have not been able to reproduce this error, the content is rendering fine for us. Are you using the correct private key?