Not able to access protected routes in visual editor

Hi, I am facing an issue in which I am using section models from the builder inside my React application.
The issue is, inside my react app I have protected routes which check the login details using local storage. When I try to open those routes inside the visual editor, it takes me back to login. How can I overcome this issue?

Hi @rythm,

Hope you’re doing well!

  1. You can try turning on the setting to “Enable Preview Iframe form submission”. You can find it in the Model>ADVANCED for the page in question.
  2. You can try using our Chrome Extension to see if that helps.

A password-protected site within the builder iframe typically requires setting up a session or cookies to authenticate therefore it doesn’t work. If the above doesn’t help then

  1. You might have to remove the password to work within the builder.
  2. or you can set cookies/sessions to be accessible cross-site. Loom:- Loom | Free Screen & Video Recording Software | Loom

Hope that makes sense, let me know if you’ve further questions!