# \#node

**URL:** https://community.auth0.com/tag/node/87.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Upgrade of node22 to node24 for actions](https://community.auth0.com/t/upgrade-of-node22-to-node24-for-actions/195076)

<div class="topic-metadata">

**Author:** [@lukaselmer](https://community.auth0.com/u/lukaselmer)\
**Replies:** 4\
**Last updated:** [November 1, 2026, 6:09pm UTC](https://community.auth0.com/t/upgrade-of-node22-to-node24-for-actions/195076 "2026-11-01T18:09:56Z")

</div>

Feature: Upgrade to NodeJS 24 (LTS) Description: We are in the process of upgrading all our NodeJS versions to NodeJS 24 (LTS). The only place where we currently have a blocker is the Auth0 Actions, where we can only ch…

---

## [How do I cache a m2m token in a Auth0 Action](https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664)

<div class="topic-metadata">

**Author:** [@jgleason](https://community.auth0.com/u/jgleason)\
**Replies:** 4\
**Last updated:** [November 28, 2022, 2:22pm UTC](https://community.auth0.com/t/how-do-i-cache-a-m2m-token-in-a-auth0-action/87664 "2022-11-28T14:22:29Z")

</div>

I am using a node action. It needs to call another service I have that caches some claim information… const axios = require('axios').default; const getToken = async (secret, audience, scope)=\>{ const tokenResult = aw…

---

## [What is the best way to handle auth with roles for my personal project?](https://community.auth0.com/t/what-is-the-best-way-to-handle-auth-with-roles-for-my-personal-project/87009)

<div class="topic-metadata">

**Author:** [@emily\_dev](https://community.auth0.com/u/emily_dev)\
**Replies:** 1\
**Last updated:** [July 16, 2022, 12:11am UTC](https://community.auth0.com/t/what-is-the-best-way-to-handle-auth-with-roles-for-my-personal-project/87009 "2022-07-16T00:11:23Z")

</div>

I’m new to using Auth0 beyond just the basic start guide and needing advice on the best approach to take to get what I want to achieve. What I am wanting to achieve is having my users register using my own styled regist…

---

## [CORS Tutorial: A Guide to Cross-Origin Resource Sharing](https://community.auth0.com/t/cors-tutorial-a-guide-to-cross-origin-resource-sharing/24034)

<div class="topic-metadata">

**Author:** [@ramiro](https://community.auth0.com/u/ramiro)\
**Replies:** 5\
**Last updated:** [May 16, 2019, 1:41pm UTC](https://community.auth0.com/t/cors-tutorial-a-guide-to-cross-origin-resource-sharing/24034 "2019-05-16T13:41:20Z")

</div>

Learn all about Cross-Origin Resource Sharing, how it protects you, and how to enable CORS in your applications Read on :hammer\_and\_wrench: \>\> What is CORS? Complete Tutorial on Cross-Origin Resource Sharing

---

## [Migration to node 14](https://community.auth0.com/t/migration-to-node-14/76895)

<div class="topic-metadata">

**Author:** [@anton.vlasiuk](https://community.auth0.com/u/anton.vlasiuk)\
**Replies:** 1\
**Last updated:** [January 25, 2022, 4:44pm UTC](https://community.auth0.com/t/migration-to-node-14/76895 "2022-01-25T16:44:46Z")

</div>

Due to official NodeJS releases documentation Node 12 will be maintainable until April 2022 Does it mean that after April 2022 we should update from Node 12 to Node 14 ?

---

## [Node-auth0: safe to use singleton ManagementClient?](https://community.auth0.com/t/node-auth0-safe-to-use-singleton-managementclient/76855)

<div class="topic-metadata">

**Author:** [@ken2](https://community.auth0.com/u/ken2)\
**Replies:** 2\
**Last updated:** [January 25, 2022, 1:45am UTC](https://community.auth0.com/t/node-auth0-safe-to-use-singleton-managementclient/76855 "2022-01-25T01:45:17Z")

</div>

In auth0-node, used in an express web-server, is it safe to make a single ManagementClient (Non Interactive Client ), and then keep that around in a global variable, or should we be creating a new ManagementClient object…

---

## [Updating tenant node version in management API](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232)

<div class="topic-metadata">

**Author:** [@hpsmcgregor](https://community.auth0.com/u/hpsmcgregor)\
**Replies:** 3\
**Last updated:** [October 29, 2021, 4:41pm UTC](https://community.auth0.com/t/updating-tenant-node-version-in-management-api/72232 "2021-10-29T16:41:59Z")

</div>

I’m trying to update the node version of my tenants using the management api v2. I can see in the settings section in the UI there is drop down to change between node 8 and 12, however our infrastructure is managed in c…

---

## [Auth Not Working for Protected API - Query Param configuration missing? (Angular & Node)](https://community.auth0.com/t/auth-not-working-for-protected-api-query-param-configuration-missing-angular-node/67783)

<div class="topic-metadata">

**Author:** [@EyeG](https://community.auth0.com/u/EyeG)\
**Replies:** 14\
**Last updated:** [August 17, 2021, 6:58pm UTC](https://community.auth0.com/t/auth-not-working-for-protected-api-query-param-configuration-missing-angular-node/67783 "2021-08-17T18:58:39Z")

</div>

Hey Auth0 Community, I followed the quickstart guide via Youtube to set up an Angular app to use Auth0. Overall, it was extremely helpful. My login/logout is working. My route guards are working. My problem: My API ca…

---

## [How to fetch new token after updating user\_metadata in React](https://community.auth0.com/t/how-to-fetch-new-token-after-updating-user-metadata-in-react/65784)

<div class="topic-metadata">

**Author:** [@m.kuo5](https://community.auth0.com/u/m.kuo5)\
**Replies:** 9\
**Last updated:** [July 29, 2021, 8:35am UTC](https://community.auth0.com/t/how-to-fetch-new-token-after-updating-user-metadata-in-react/65784 "2021-07-29T08:35:21Z")

</div>

Hi there, I am running React on the frontend and Node on the backend. I am updating my user\_metadata by a POST request to the backend and then updating user\_metadata with a patch method to the users endpoint with a Man…

---

## [Auth0 React, Node, & Passport - session.passport.user undefined](https://community.auth0.com/t/auth0-react-node-passport-session-passport-user-undefined/59146)

<div class="topic-metadata">

**Author:** [@blubberbo](https://community.auth0.com/u/blubberbo)\
**Replies:** 2\
**Last updated:** [March 25, 2021, 10:01am UTC](https://community.auth0.com/t/auth0-react-node-passport-session-passport-user-undefined/59146 "2021-03-25T10:01:11Z")

</div>

Hi, I have inherited an app that I am trying to get to work and having trouble. The app uses React, Node, and Passport. My understanding of the workflow is as follows: user clicks “login” in the React app React calls …

---

## [Sharing code between Auth0 Rules](https://community.auth0.com/t/sharing-code-between-auth0-rules/50963)

<div class="topic-metadata">

**Author:** [@jack.matthews](https://community.auth0.com/u/jack.matthews)\
**Replies:** 2\
**Last updated:** [October 5, 2020, 1:20pm UTC](https://community.auth0.com/t/sharing-code-between-auth0-rules/50963 "2020-10-05T13:20:10Z")

</div>

We have our Auth0 rules source controlled in GIT. There are a few logging functions that we need to use among multiple different Auth0 rules. Currently they are copied and pasted into every single rule. I tried es6 im…

---

## [Minor problem with Auth0 Lock & Fitbit connection](https://community.auth0.com/t/minor-problem-with-auth0-lock-fitbit-connection/18163)

<div class="topic-metadata">

**Author:** [@KevTheDev26](https://community.auth0.com/u/KevTheDev26)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 5:44am UTC](https://community.auth0.com/t/minor-problem-with-auth0-lock-fitbit-connection/18163 "2018-11-21T05:44:54Z")

</div>

Hello, I’ve been messing around with the Fitbit API and am creating a web app using a ReactJS front end & a Node/ExpressJS back end. I was able to successfully set up authentication using Auth0 Lock & the Fitbit social …
