# Uncaught ReferenceError: require is not defined

**URL:** https://discourse.nodered.org/t/uncaught-referenceerror-require-is-not-defined/37868
**Category:** Core Development
**Created:** [22 December 2020 08:17 UTC](https://discourse.nodered.org/t/uncaught-referenceerror-require-is-not-defined/37868 "2020-12-22T08:17:13Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 December 2020 08:58 UTC](https://discourse.nodered.org/t/uncaught-referenceerror-require-is-not-defined/37868/7 "2020-12-22T08:58:44Z")

</div>

Again, I am no expert here, but I believe (typically) most folk just rely on HTTPS to encrypt the data from client to server (and/or use something like nginx)

Are you using https?

* * *

PS, as you are modifying the "backend" (core of node-red), is it your intension to maintain your own fork & keep it up to date with all the future improvements made by the node-red devs?  
**or**  
are you intending on improving the node-red core and issuing a Pull Req to node-red so that your modifications are built in? If so, you would need to discuss with maintainers first.

* * *

PS2: You seem to be veering off from the solution that Nick pointed you towards [back in July](https://discourse.nodered.org/t/how-to-write-and-configure-custom-authentication/29381). Is there an issue with the documentation he provided?

---

_[View the full topic](https://discourse.nodered.org/t/uncaught-referenceerror-require-is-not-defined/37868)._
