<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem while proxying public and private pages (CMS React) in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224367#M44539</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Okay. There's an error in the theme-hsmeta.json file generated by the package: the variable "uid" contains "theme" when it should contain (given the generated files) "my-theme".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, between steps 9 and 10, and in any case *before uploading* the project, you need to change the uid of theme-hsmeta.json and replace "theme" with "my-theme".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this, my project is visible in "localhost:3000" and if I add "hslocal.net:3000" to my domain name followed by the page slug, it appears correctly in the browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;, are you reporting this to the developers, or do we need to submit it via the developer contact form?&amp;nbsp;I think it's enough to just change "theme" to "my-theme" in the uid variable of the theme-hsmeta.json file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;</description>
    <pubDate>Sun, 16 Nov 2025 18:53:16 GMT</pubDate>
    <dc:creator>sylvain_tirreau</dc:creator>
    <dc:date>2025-11-16T18:53:16Z</dc:date>
    <item>
      <title>Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220151#M44448</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I’m having an issue while proxying &lt;STRONG&gt;private pages&lt;/STRONG&gt; locally when developing with &lt;STRONG&gt;CMS React&lt;/STRONG&gt;.&lt;BR /&gt;I’m using &lt;STRONG&gt;projects version 2025.2&lt;/STRONG&gt;. I built a theme with React, and now I want to use the template I created for private pages.&lt;/P&gt;&lt;P&gt;According to the documentation:&lt;BR /&gt;&lt;A class="" href="https://developers.hubspot.com/docs/cms/reference/react/local-development" target="_new" rel="noopener"&gt;https://developers.hubspot.com/docs/cms/reference/react/local-development&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I should:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Open the page online and log in.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Add to the domain in the URL "&lt;STRONG&gt;hslocal.net:3000&lt;/STRONG&gt;" to preview local changes while proxying the live page.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;However, this doesn’t seem to work.&lt;/P&gt;&lt;P&gt;I've tried several approaches, but I always end up with one of the following results:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;A new login screen appears (and the login does not work).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;If I copy the cookies from the live page to the proxied one, I get an empty body with the following comment:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;lt;!-- Missing Template at Path: '@preview/5159ac59-82d0-4cdd-86e6-0488f964dba4/@projects/.../theme/templates/dashboard.hubl.html' --&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I initially thought the issue might be with my theme, so I created a &lt;STRONG&gt;new theme from the official HubSpot React boilerplate&lt;/STRONG&gt;, without making any modifications - but I still get the same errors.&lt;/P&gt;&lt;P&gt;I also tried proxying &lt;STRONG&gt;public pages&lt;/STRONG&gt;, just to check, and in that case I also get the same &lt;STRONG&gt;“Missing Template”&lt;/STRONG&gt; error.&lt;/P&gt;&lt;P&gt;Additionally, I tried using the &lt;STRONG&gt;"Open Local Dev Server"&lt;/STRONG&gt; option directly from the live page menu:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;On &lt;STRONG&gt;Brave&lt;/STRONG&gt; (with all shields disabled), I get a message saying the proxy is unavailable and to try again.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;On &lt;STRONG&gt;Safari&lt;/STRONG&gt;, with the local server running, I get a message saying the local server is not running.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So at this point I'm a bit stuck.&lt;BR /&gt;&lt;STRONG&gt;How is this supposed to work?&lt;/STRONG&gt;&lt;BR /&gt;Is there something missing in the setup, or is there a known issue with proxying private pages in the latest version?&lt;/P&gt;&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 10:28:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220151#M44448</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-05T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220171#M44449</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt; and welcome, we are so glad to have you here!&lt;BR /&gt;&lt;BR /&gt;Great question, thanks for asking the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Here is an article that might help you: "&lt;A href="https://developers.hubspot.com/docs/cms/start-building/introduction/react-plus-hubl/modules" target="_blank"&gt;Modules&lt;/A&gt;."&lt;BR /&gt;&lt;BR /&gt;Now, let's consult our Top Experts: Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115766"&gt;@nickdeckerdevs1&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/776255"&gt;@BelBarakat&lt;/a&gt;&lt;/SPAN&gt; do you have any insights to share with &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful day and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 11:25:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220171#M44449</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-05T11:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220176#M44450</link>
      <description>&lt;P&gt;Without digging in a bunch more, very hard to understand right now what is going on. It looks like something is incorrect with the theme possibly.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;if you install the theme, are you able to create a page? When I debug my templates I use ?hsDebug=true in the url params and then inspect the code. That's how you would see those missing template errors and what not. So maybe there is more there. Either way - did you follow the path to the missing template? Is there a template missing at the path? You can search by file name through your repo &amp;nbsp;or traverse through the folders and see what is going on there. If you states there is no actual template missing, I apologize. I'm going to assume that the template not rendering is going to cause issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I don't know how different this is from a react theme or a theme built in projects .2 -- however it should be the same.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Very hard to tell, you say you do a new theme project, and it still doesn't work. Have you upgraded all packages? Have you tried just an empty template with very little dependencies?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;also are you only testing in safari and brave? This seems like an odd choice in a place to start.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 10:29:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220176#M44450</guid>
      <dc:creator>nickdeckerdevs1</dc:creator>
      <dc:date>2025-11-10T10:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220182#M44451</link>
      <description>&lt;P&gt;Yes, the theme is installed and I can create pages without any issues.&lt;BR /&gt;The “missing template” error only appears after I manually copy the cookies from the private page, or when I use a public page.&lt;BR /&gt;Since I need to test private pages, the main issue is that when I try to proxy the private page after logging in, I get prompted to log in again.&lt;/P&gt;&lt;P&gt;On public pages, when I add the debug parameter, I can see a bit more detail about the missing template error.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FPConnect_0-1762344400515.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/160593i43FA71CF5CDD761F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FPConnect_0-1762344400515.png" alt="FPConnect_0-1762344400515.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Locally, I can see the templates, and the templates work correctly when creating pages online.&lt;BR /&gt;But when trying to proxy the page, it doesn’t work.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I also thought the issue might be with my theme, which is why I started from scratch, with all packages updated, using only the HubSpot boilerplate, without adding anything.&lt;BR /&gt;But I still get the same problems (both on public and private pages).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;That’s why it seems strange that the templates can’t be found and the proxy doesn’t work, especially when using the starter theme provided by HubSpot.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I’m using Brave and Safari because they’re the only browsers I currently have installed on my machine: Brave is what I use every day, and Safari is my backup to check whether Brave is blocking any scripts.&lt;BR /&gt;I will try with other browsers, but I don't think that makes any difference.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 12:08:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1220182#M44451</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-05T12:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222003#M44477</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt; and welcome, we are so glad to have you on the HubSpot Community!&lt;BR /&gt;&lt;BR /&gt;Regarding the "missing template" error: The error occurs because when proxying pages, the local dev server needs to find your templates with the .hubl.html extension.&lt;BR /&gt;&lt;BR /&gt;Please make sure that:&lt;/P&gt;
&lt;P&gt;- Your templates are renamed to include .hubl (e.g., template.hubl.html)&lt;BR /&gt;- Classic HubL modules are in a hubl-modules directory&lt;BR /&gt;- Module files also use .hubl extensions (e.g., module.hubl.html, module.hubl.css)&lt;BR /&gt;&lt;BR /&gt;For the private page authentication issues, when proxying private/membership pages, you need to authenticate first on the live page, then add hslocal.net:3000 or localhost:3000 to the domain. To view as a specific contact, add ?email=contact@email.com to the URL.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try using the --ssl option: Start the dev server with hs-cms-dev-server . --ssl to enable HTTPS proxying, which may resolve authentication issues.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If issues persist after verifying your file structure matches the project requirements, please share your theme-hsmeta.json configuration and confirm you're on the latest &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-dev-server version.&lt;BR /&gt;&lt;BR /&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115766"&gt;@nickdeckerdevs1&lt;/a&gt;&lt;/SPAN&gt;, &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/776255"&gt;@BelBarakat&lt;/a&gt;&lt;/SPAN&gt; do you have other suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a great day and thanks so much!&lt;BR /&gt;Bérangère&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;This post was created with the assistance of AI tools.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 10:27:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222003#M44477</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-10T10:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222055#M44480</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the detailed reply!&lt;/P&gt;&lt;P&gt;Just to clarify:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;All of my templates &lt;STRONG&gt;already&lt;/STRONG&gt; use the .hubl.html extension.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The module files are correctly named and structured.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The project layout matches the expected file/folder conventions.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To rule out any issue with my code, I did a clean test:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I updated all packages to the latest versions.&lt;/LI&gt;&lt;LI&gt;I created a &lt;STRONG&gt;brand-new theme&lt;/STRONG&gt;&lt;SPAN&gt; using the official &lt;/SPAN&gt;&lt;STRONG&gt;CMS React starter&lt;/STRONG&gt;&lt;SPAN&gt; (the boilerplate provided by HubSpot).&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I did &lt;STRONG&gt;not&lt;/STRONG&gt; modify any file from the starter theme.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Even in this scenario, I get &lt;STRONG&gt;exactly the same errors&lt;/STRONG&gt;, both on public and private pages, when proxying.&lt;BR /&gt;So it doesn’t seem to be something specific to my custom theme.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regarding authentication: I am already following the documented flow - I log in first on the live page, then add to the the domain&amp;nbsp;hslocal.net:3000 to proxy.&lt;BR /&gt;But the proxied page &lt;STRONG&gt;keeps redirecting me to a login page&lt;/STRONG&gt;, and the login there doesn’t work (which makes sense, since it’s being proxied).&lt;BR /&gt;So the authentication never completes.&lt;/P&gt;&lt;P&gt;I also tried using --ssl, same result.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For reference, here is my theme-hsmeta.json (it is identical in both my theme and the starter boilerplate, untouched):&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"uid"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"theme"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"theme"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"config"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"themePath"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"my-theme"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"secretNames"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;]&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;And yes, I'm using the latest version of @hubspot/cms-dev-server.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 13:53:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222055#M44480</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-10T13:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222466#M44491</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt; and thanks for sharing all the detailed troubleshooting steps you’ve taken, it really helps clarify the scenario.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you've confirmed the structure, updated everything, and replicated the issue using the official CMS React starter, it sounds like the proxying problem may be related to authentication and session handling with private pages when using the local dev server.&lt;BR /&gt;&lt;BR /&gt;Proxying private pages should work, but authentication must happen on the live page first, not through the proxy, is that the case for you?&lt;BR /&gt;&lt;BR /&gt;Let's consult our Top Experts: Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/115766"&gt;@nickdeckerdevs1&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt; do you have suggestions to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a great day and thanks so much!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:07:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222466#M44491</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-11T12:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222538#M44499</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;, thank you for your message and for looping in the others, I appreciate it.&lt;/P&gt;&lt;P&gt;Just to clarify an important point: the issue is not limited to private pages. I am also experiencing errors when proxying &lt;STRONG&gt;public&lt;/STRONG&gt; pages. In those cases there is obviously no authentication involved, yet I get the &lt;EM&gt;missing template&lt;/EM&gt; error.&lt;/P&gt;&lt;P&gt;So the problem seems independent from the login/session flow.&lt;/P&gt;&lt;P&gt;Happy to provide more details if needed, thanks again for your support.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 15:07:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1222538#M44499</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-11T15:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223607#M44518</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt; and thanks for the additional information!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the local development documentation, when proxying pages you should access them via:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://cmssite.com.hslocal.net:3000/page" target="_blank"&gt;http://cmssite.com.hslocal.net:3000/page&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;A href="http://cmssite.com.localhost:3000/page" target="_blank"&gt;http://cmssite.com.localhost:3000/page&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For private pages specifically, you need to authenticate first on the live page, then add hslocal.net:3000 or localhost:3000 to the domain.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you're getting template errors on both public and private pages, this suggests indeed that the issue isn't authentication-related.&lt;BR /&gt;&lt;BR /&gt;The problem may be with how the proxy is resolving templates.&lt;BR /&gt;&lt;BR /&gt;Try checking that your local dev server is running properly and that the templates exist in your deployed project.&lt;BR /&gt;&lt;BR /&gt;Here are related resources for you:&lt;BR /&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/cms/reference/react/local-development" target="_blank"&gt;Local development&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/cms/reference/react/local-development#proxying-private-pages" target="_blank"&gt;Proxying private pages&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/cms/start-building/introduction/developer-environment/troubleshooting/troubleshooting" target="_blank"&gt;Debugging methods and error types&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/321717"&gt;@MichaelMa&lt;/a&gt;&lt;/SPAN&gt; any ideas on what could be the issue to help &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Have a wonderful day and thanks so much!&lt;BR /&gt;Bérangère&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;This post was created with the assistance of AI tools.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 17:16:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223607#M44518</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-13T17:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223919#M44531</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With HubSpot projects (React CRM), we use `&lt;STRONG&gt;hs project dev&lt;/STRONG&gt;` &lt;STRONG&gt;in the project root&lt;/STRONG&gt;, while with a classic Hubl theme we use &lt;STRONG&gt;hs-cms-dev-server &amp;lt;theme-folder&amp;gt;&lt;/STRONG&gt;. Are you following this correctly?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do your templates have the &lt;STRONG&gt;.hubl.html&lt;/STRONG&gt; extension?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the &lt;STRONG&gt;theme-hsmeta.json&lt;/STRONG&gt; file, the variables&amp;nbsp;&lt;STRONG&gt;uid&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;themePath&lt;/STRONG&gt; dictate the name of the &lt;STRONG&gt;/themes/&amp;lt;uid&amp;gt;&lt;/STRONG&gt; folder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, in &lt;STRONG&gt;src/theme/theme-hsmeta.json&lt;/STRONG&gt;, if you define this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "uid": "FPConnect-Theme",
  "type": "theme",
  "config": { "themePath": "my-theme" }
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;a page that displays the template "&lt;STRONG&gt;/themes/FPConnect-Theme/templates/home.hubl.html&lt;/STRONG&gt;" should find the template in "&lt;STRONG&gt;src/theme/my-theme/templates/home.hubl.html&lt;/STRONG&gt;".&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 10:28:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223919#M44531</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-11-14T10:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223981#M44533</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issues are actually &lt;STRONG&gt;two separate ones&lt;/STRONG&gt;:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Public pages&lt;/STRONG&gt;&lt;BR /&gt;When proxying public pages, I consistently get the &lt;STRONG&gt;“template missing”&lt;/STRONG&gt; error, even though the templates are deployed and work correctly on the live environment.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Private pages&lt;/STRONG&gt;&lt;BR /&gt;I follow the correct flow:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;authenticate first on the live page,&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;then append hslocal.net:3000 to the URL.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, instead of letting me access the proxied private page, HubSpot redirects me &lt;STRONG&gt;back to the login page&lt;/STRONG&gt;, making it impossible to work locally with authenticated pages.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So the problem is not authentication, nor the templates themselves - it seems the proxy is failing in both scenarios, but in two different ways.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 14:57:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223981#M44533</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-14T14:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223992#M44534</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;, thanks for your message.&lt;/P&gt;&lt;P&gt;I’d like to clarify a few points, because the documentation for CMS React (HubSpot Projects) states very clearly that the correct command for local development is &lt;STRONG&gt;npm run start&lt;/STRONG&gt;, as written here:&lt;BR /&gt;&lt;A class="" href="https://developers.hubspot.com/docs/cms/reference/react/local-development" target="_new" rel="noopener"&gt;https://developers.hubspot.com/docs/cms/reference/react/local-development&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As already mentioned in previous posts:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;all my templates &lt;STRONG&gt;do&lt;/STRONG&gt; have the .hubl.html extension;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;to make sure the issue wasn’t related to my theme, I ran several tests using the official &lt;STRONG&gt;HubSpot starter template&lt;/STRONG&gt;, and the problem &lt;STRONG&gt;still occurs every single time&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;To help reproduce the issue, here are the exact steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;npx @hubspot/create-cms-theme@latest&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Choose a theme name&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Select &lt;STRONG&gt;TypeScript: yes&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Choose directory&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Automatic installation of CLI and dependencies&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Open HubSpot and copy a personal access key&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Paste the key in the terminal from the correct portal&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;“Starter theme created successfully“&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;cd into the correct directory (the one containing hsproject.json, package.json, etc.)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;hs project upload&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The project is created on HubSpot (authentication succeeds)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Build &amp;amp; deploy successfully&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Go to src/theme/my-theme/package.json and add --ssl to the start script → becomes:&lt;BR /&gt;hs-cms-dev-server . --ssl&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Upload the project again&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In HubSpot → Website pages → create a &lt;STRONG&gt;new public page&lt;/STRONG&gt; using the starter theme template&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Enter name &amp;amp; title (leave the page public)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Publish the page&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Visiting the live page works&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Start the local dev server with &lt;STRONG&gt;npm run start&lt;/STRONG&gt; from the project root (the directory with hsproject.json)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Server starts with no errors&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Local template rendering works&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Add hslocal.net:3000 to the URL of the live page&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Result: &lt;STRONG&gt;blank page with HTML comment “Missing template…”&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Would you be able to run a test on your side following exactly these same steps and check whether you also encounter the issue?&lt;/P&gt;&lt;P&gt;If not, could you please share &lt;STRONG&gt;your exact workflow/steps&lt;/STRONG&gt; so I can replicate the setup you’re using that avoids this problem? Having a working reference would help a lot in understanding where the discrepancy may be.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 15:25:23 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1223992#M44534</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-14T15:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224367#M44539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Okay. There's an error in the theme-hsmeta.json file generated by the package: the variable "uid" contains "theme" when it should contain (given the generated files) "my-theme".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, between steps 9 and 10, and in any case *before uploading* the project, you need to change the uid of theme-hsmeta.json and replace "theme" with "my-theme".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this, my project is visible in "localhost:3000" and if I add "hslocal.net:3000" to my domain name followed by the page slug, it appears correctly in the browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;, are you reporting this to the developers, or do we need to submit it via the developer contact form?&amp;nbsp;I think it's enough to just change "theme" to "my-theme" in the uid variable of the theme-hsmeta.json file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best&lt;/P&gt;</description>
      <pubDate>Sun, 16 Nov 2025 18:53:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224367#M44539</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-11-16T18:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224488#M44542</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;&lt;/SPAN&gt;, and thank you so much for your help!&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’ve submitted the feedback on your behalf via the form &lt;span class="lia-unicode-emoji" title=":hugging_face:"&gt;🤗&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;If you’d like to share feedback directly in the future, please feel free to do so via the &lt;A href="https://developers.hubspot.com/feedback" target="_blank"&gt;HubSpot Developer Feedback Form&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks again, and I hope you have a great day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 09:07:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224488#M44542</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-17T09:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224543#M44544</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/601366"&gt;@sylvain_tirreau&lt;/a&gt;!&lt;BR /&gt;Updating the uid in &lt;STRONG&gt;theme-hsmeta.json&lt;/STRONG&gt; to match &lt;EM&gt;my-theme&lt;/EM&gt; actually fixed the issue with &lt;STRONG&gt;public pages&lt;/STRONG&gt;&amp;nbsp;- the proxy now works correctly there.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For &lt;STRONG&gt;private pages&lt;/STRONG&gt;, though, I’m still running into the same problem: even if I log in on the live page first and then add hslocal.net:3000 to the domain, the proxied page keeps redirecting me back to the login screen.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For the moment I can work around it by manually copying the cookies from the live page to the local one, and that seems to let the page load.&lt;BR /&gt;But the native authentication flow still doesn't behave as expected.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks again for the help - this was definitely a step forward.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 11:04:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224543#M44544</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2025-11-17T11:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224567#M44545</link>
      <description>&lt;P&gt;It seems logical that it would break, since the cookies are set for a domain name that will change to "hslocal.net" when you modify the URL. But the documentation clearly states that this has no impact: "T&lt;SPAN data-as="p"&gt;o view your local changes on a proxied membership page, first visit the page and log in with the configured method. Once authenticated, add &lt;CODE&gt;hslocal.net:3000&lt;/CODE&gt; or &lt;CODE&gt;localhost:3000&lt;/CODE&gt; to the root domain, just as you would with proxying a public page.&lt;/SPAN&gt;" (&lt;A href="https://developers.hubspot.com/docs/cms/reference/react/local-development#proxying-private-pages" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/cms/reference/react/local-development#proxying-private-pages&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were you, I would also report this issue on the developer feedback form:&amp;nbsp;&lt;A href="https://developers.hubspot.com/feedback" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/feedback&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 11:55:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1224567#M44545</guid>
      <dc:creator>sylvain_tirreau</dc:creator>
      <dc:date>2025-11-17T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1244826#M44997</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&amp;nbsp;did you find a solution aside from copying the cookies for the private page proxy issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jan 2026 00:18:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1244826#M44997</guid>
      <dc:creator>MFall13</dc:creator>
      <dc:date>2026-01-25T00:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1244996#M45000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/107165"&gt;@MFall13&lt;/a&gt;, no, I wasn't able to find a solution.&lt;BR /&gt;I'm still copying manually the cookies from the online page (after I logged in) to the local one running with the proxy.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 08:29:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1244996#M45000</guid>
      <dc:creator>FPConnect</dc:creator>
      <dc:date>2026-01-26T08:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1245042#M45003</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, thanks for getting back to us!&lt;BR /&gt;&lt;BR /&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/17186"&gt;@Anton&lt;/a&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/321717"&gt;@MichaelMa&lt;/a&gt;&lt;/SPAN&gt; do you have any tips to share with &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt; and &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/107165"&gt;@MFall13&lt;/a&gt;&lt;/SPAN&gt;, please?&lt;BR /&gt;&lt;BR /&gt;Thanks so much and have a great day!&lt;BR /&gt;Bérangère&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 11:42:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1245042#M45003</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2026-01-26T11:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while proxying public and private pages (CMS React)</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1248560#M45080</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/244874"&gt;@FPConnect&lt;/a&gt;&lt;/SPAN&gt;, when looking into this for you I could see that for previewing private or membership pages locally, here’s what works best:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Visit the live page and log in using your configured method.&lt;BR /&gt;- Once authenticated, add hslocal.net:3000 or localhost:3000 to the root domain.&lt;BR /&gt;&lt;BR /&gt;A couple of things to keep in mind:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- The “Missing Template” error you’re seeing (with &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/843733"&gt;@PReview&lt;/a&gt;/...) likely points to a template path issue in the local proxy, which can happen with project-based templates.&lt;BR /&gt;- There was a recent security update in June 2025 for cms-dev-server version 1.0.33, and older versions are now deprecated. If you’re on 1.0.32 or below, you might see a 401 “INVALID_SIGNATURE” error. Updating is easy, just run: npm update &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-dev-server&lt;BR /&gt;&lt;BR /&gt;If the automatic authentication isn’t working as expected, manually copying cookies is a common workaround.&lt;BR /&gt;&lt;BR /&gt;For the best experience, I recommend:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- Making sure you’re using the latest &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63720"&gt;@hubspot&lt;/a&gt;/cms-dev-server (1.0.33 or higher)&lt;BR /&gt;- Starting the dev server with the --ssl option for HTTPS support&lt;BR /&gt;&lt;BR /&gt;It does seem like a bug though, so I'd suggest to &lt;A href="https://help.hubspot.com/" target="_blank"&gt;report it to our Support Team&lt;/A&gt; so that they can take a look.&lt;BR /&gt;&lt;BR /&gt;Feel free to reach out if you have more questions or need extra help!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Bérangère&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;This post was created with the assistance of AI tools&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2026 15:55:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Problem-while-proxying-public-and-private-pages-CMS-React/m-p/1248560#M45080</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2026-02-05T15:55:25Z</dc:date>
    </item>
  </channel>
</rss>

