# Javascript Allowed in Auth0 Rules

**URL:** <https://community.auth0.com/t/javascript-allowed-in-auth0-rules/8830>\
**Category:** Get Help\
**Tags:** rules, javascript\
**Created:** [November 26, 2017, 10:02pm UTC](https://community.auth0.com/t/javascript-allowed-in-auth0-rules/8830 "2017-11-26T22:02:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![picosam1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/picosam1/32/21137_2.png) [@picosam1](https://community.auth0.com/u/picosam1)\
**Post date:** [November 26, 2017, 10:02pm UTC](https://community.auth0.com/t/javascript-allowed-in-auth0-rules/8830/1 "2017-11-26T22:02:07Z")

</div>

Can I use string literals (templates) in my Auth0 rule Javascript?

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [November 27, 2017, 5:13pm UTC](https://community.auth0.com/t/javascript-allowed-in-auth0-rules/8830/2 "2017-11-27T17:13:05Z")

</div>

The rules run in a Node 4 environment at this time so you use any feature available within such an environment. You can check [node.green](http://node.green/) support table as a reference, but yes template literals are supported.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:57am UTC](https://community.auth0.com/t/javascript-allowed-in-auth0-rules/8830/3 "2018-03-02T05:57:33Z")

</div>


