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!
- 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.
- 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
- You might have to remove the password to work within the builder.
- 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!