RStudio Connect registerDataObj - permissions


I have an app that makes extensive use of session$registerDataObj, these are then called from the browser with fetch.

Everything works fine locally.

I deployed the application and set the access to "Anyone - no login required." Everything runs fine when logged in. However, when visiting the application logged out the "registered data object" fail. The browser throws: Uncaught (in promise) SynthaxError: Unexpected token < in JSON at position 0. To the best of my understanding it is simply because, logged out, the session-dependent endpoint cannot be accessed (perhaps due to permissions).

Could it have to do with the setup of RStudio Connect? E.g.: I also see at dashboard.bundle.js:90 the following error Server error response: [24] The requested operation requires authentication.