Debugging old code can be challenging, debugging old code from other people is always even more challenging.
So, it's a good plan to talk to your agency to see if they can help.
The good news is that everything (code, keys, etc.) is in your HubSpot Portal so that makes it easier to investigate, and fix.
If your agency can't help feel free to get in touch. or, if they only speak in acronyms, and you need a translator, you can invite me along to the meeting ;o)
The website is built entirely in HubSpot CMS. We believe the website login stopped working recently as we haven't had any customer complaints etc. Previously when this issue occurred it was because there was an issue with the API key, however now we have moved over to private app authentication and everything was working fine.
Looking at that page you shared the node.js example is structured in the exact same way as our page so maybe this isn't the issue.
I am going to reach out to the agency that did the API to private app swap to see if they can assist as they are an existing approved and setup supplier.
Debugging old code can be challenging, debugging old code from other people is always even more challenging.
So, it's a good plan to talk to your agency to see if they can help.
The good news is that everything (code, keys, etc.) is in your HubSpot Portal so that makes it easier to investigate, and fix.
If your agency can't help feel free to get in touch. or, if they only speak in acronyms, and you need a translator, you can invite me along to the meeting ;o)
Here to learn more about HubSpot and share my HubSpot Knowledge. I'm the founder of Webalite a Gold HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world's first automated HubSpot Portal Audit that helps you work smarter with HubSpot.