# Node 8 Migration

**URL:** <https://community.auth0.com/t/node-8-migration/11167>\
**Category:** Get Help\
**Created:** [April 26, 2018, 1:21pm UTC](https://community.auth0.com/t/node-8-migration/11167 "2018-04-26T13:21:24Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [April 26, 2018, 1:21pm UTC](https://community.auth0.com/t/node-8-migration/11167/1 "2018-04-26T13:21:24Z")

</div>

Continuing the discussion from [Auth0 Extensibility - Node 8 Migration](http://community.auth0.com/t/auth0-extensibility-node-8-migration/10796/29):

Can someone answer this?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [April 26, 2018, 1:21pm UTC](https://community.auth0.com/t/node-8-migration/11167/2 "2018-04-26T13:21:49Z")

</div>

The question was: if my App on Heroku is running on Node 8.7.0, does that mean I can easily switch to node 8 in Auth0 without any impact?

---

<div class="post-metadata">

**Author:** ![fady](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fady/32/7927_2.png) [@fady](https://community.auth0.com/u/fady)\
**Post date:** [April 26, 2018, 3:15pm UTC](https://community.auth0.com/t/node-8-migration/11167/3 "2018-04-26T15:15:32Z")

</div>

Hey @pododesk-operations 👋 Apologies, I seem to have missed the message in the original topic.

The Node 8 Migration pertains to Auth0 extensibility points only (Hooks, Rules, Custom Database scripts and Custom Social Connections). The platform and version of Node your application runs on is completely independent of this.

If you are not using any of these extensibility points, then no action is required on your part. To clarify, **only the Rules, Hooks, Custom DB scripts, and Custom Social Connection scripts, if any, need to be updated - not your application.**

I hope this helps answer your question. Please let us know if you have any further questions.

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [April 26, 2018, 5:59pm UTC](https://community.auth0.com/t/node-8-migration/11167/4 "2018-04-26T17:59:29Z")

</div>

Hey, thanks for the heads up. Thats helpful.

Can you help me to find out whether I am actually using one of the affected components you are mentioning? Are there any indicators in the Auth0 Setup or my code that can help me to figure out?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [April 28, 2018, 6:12pm UTC](https://community.auth0.com/t/node-8-migration/11167/5 "2018-04-28T18:12:50Z")

</div>

@fady, can you help me with my last question?

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [April 30, 2018, 3:38pm UTC](https://community.auth0.com/t/node-8-migration/11167/6 "2018-04-30T15:38:25Z")

</div>

Hey @fady, today is the last day of April. Any chance you can give me a hint regarding my open question?  
Jens

---

<div class="post-metadata">

**Author:** ![drew2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew2/32/15029_2.png) [@drew2](https://community.auth0.com/u/drew2)\
**Post date:** [April 30, 2018, 5:36pm UTC](https://community.auth0.com/t/node-8-migration/11167/7 "2018-04-30T17:36:14Z")

</div>

@pododesk-operations There are no indicators in the auth0 setup to tell you if you are affected. Please refer to the [migration guide](https://auth0.com/docs/migrations/guides/extensibility-node8).

You can use the Auth0 Dashboard to evaluate any custom code that you may have created:

- Rules - [https://manage.auth0.com/#/rules](https://manage.auth0.com/#/rules)
- Hooks - [https://manage.auth0.com/#/hooks](https://manage.auth0.com/#/hooks)
- Custom Database Scripts - [https://manage.auth0.com/#/connections/database](https://manage.auth0.com/#/connections/database)
- Extensions - [https://manage.auth0.com/#/extensions](https://manage.auth0.com/#/extensions)

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [May 1, 2018, 2:49pm UTC](https://community.auth0.com/t/node-8-migration/11167/8 "2018-05-01T14:49:41Z")

</div>

thx @drew2,  
checked the 4 areas you mentioned.  
There is only one extension thats already updated and no hooks.  
**If all Databases show the following I should also be fine, correct?**  
 ![00](https://global.discourse-cdn.com/auth0/original/2X/5/52779f217d0bfc48ba5aad84e14ee7740106038d.png)

**How can I check whether the one Rule that is configured needs any update befor I enable Node 8?**

 ![10](https://global.discourse-cdn.com/auth0/original/2X/1/110f4d856d64d5048e5b39191b07eb6c640dbb1c.png)

---

<div class="post-metadata">

**Author:** ![drew2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew2/32/15029_2.png) [@drew2](https://community.auth0.com/u/drew2)\
**Post date:** [May 1, 2018, 3:07pm UTC](https://community.auth0.com/t/node-8-migration/11167/9 "2018-05-01T15:07:07Z")

</div>

Correct, if you are _not_ using your own database, you will be fine.

I assume the “Tracks Logins in MixPanel” Rules is from this → [Auth0 Actions](https://auth0.com/rules/mixpanel-track-event)?  
Assuming you simply added your Mixpanel Token, it will also continue to work with Node 8. If you made other edits to the rule, I cannot make guarantees.

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [May 1, 2018, 3:34pm UTC](https://community.auth0.com/t/node-8-migration/11167/10 "2018-05-01T15:34:45Z")

</div>

@drew2, much appreciate your support in this. sorry i go on with stupid questions but unfortunatelly we are currently missing our lead developer to take care of this so i need to somehow get this sorted my self (being not a developer).

the rule details look like this:

```
function (user, context, callback) {

```

var mpEvent = {  
“event”: “Sign In”,  
“properties”: {  
“distinct\_id”: user.user\_id,  
“token”: “\*\*\*”,  
“application”: context.clientName  
}  
};

var base64Event = new Buffer(JSON.stringify(mpEvent)).toString(‘base64’);

request.get({  
url: ‘[http://api.mixpanel.com/track/](http://api.mixpanel.com/track/)’,  
qs: {  
data: base64Event  
}  
}, function (e, r, b){  
// don’t wait for the MixPanel API call to finish, return right away (the request will continue on the sandbox)`  
callback(null, user, context);  
});  
}

**Does that give you enough information to judge whether we can simply switch to node8?**

---

<div class="post-metadata">

**Author:** ![drew2](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew2/32/15029_2.png) [@drew2](https://community.auth0.com/u/drew2)\
**Post date:** [May 1, 2018, 7:33pm UTC](https://community.auth0.com/t/node-8-migration/11167/11 "2018-05-01T19:33:23Z")

</div>

Yes, that rule will continue to work correctly in Node 8.

Note that `new Buffer` is deprecated, and should be changed to `Buffer.from` before Node 10 is available, but that change is not necessary at this time.

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [May 4, 2018, 7:58am UTC](https://community.auth0.com/t/node-8-migration/11167/12 "2018-05-04T07:58:43Z")

</div>

Many thanks so far. That means I can actually now stwitch to Node 8.  
Can this somehow bee done for my development app only first? I seem to only be able to switch it for the whole tenant, right?

---

<div class="post-metadata">

**Author:** ![jerdog](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jerdog/32/11231_2.png) [@jerdog](https://community.auth0.com/u/jerdog)\
**Post date:** [May 4, 2018, 12:15pm UTC](https://community.auth0.com/t/node-8-migration/11167/13 "2018-05-04T12:15:06Z")

</div>

It is a tenant-based option, not an app-based option.

---

<div class="post-metadata">

**Author:** ![pododesk-operations](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pododesk-operations/32/4441_2.png) [@pododesk-operations](https://community.auth0.com/u/pododesk-operations)\
**Post date:** [May 9, 2018, 1:44pm UTC](https://community.auth0.com/t/node-8-migration/11167/14 "2018-05-09T13:44:24Z")

</div>

can i switch back to node 4 just in case there is an unexpected issue with node 8 (even though we figured out there shouldn’t be any)?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 1:06pm UTC](https://community.auth0.com/t/node-8-migration/11167/15 "2019-07-25T13:06:55Z")

</div>


