# Failed login with Authorization Extension: Compilation failed

**URL:** <https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [February 21, 2025, 2:56am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558 "2025-02-21T02:56:32Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![get\_lele](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/get_lele/32/49551_2.png) [@get\_lele](https://community.auth0.com/u/get_lele)\
**Post date:** [February 21, 2025, 2:56am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/1 "2025-02-21T02:56:32Z")

</div>

Hi,  
for a while now the login in EU2 has started to fail with the message:

Authorization Extension: Compilation failed: Cannot find module ‘uuid/v4’ Require stack: - /verquire\_cache/\_node12/auth0-extension-hapi-tools/1.3.1/node\_modules/request/lib/auth.js - /verquire\_cache/\_node12/auth0-extension-hapi-tools/1.3.1/node\_modules/request/request.js - /verquire\_cache/\_node12/auth0-extension-hapi-tools/1.3.1/node\_modules/request/index.js - /verquire\_cache/\_node12/auth0-extension-hapi-tools/1.3.1/node\_modules/auth0-extension-hapi-tools/src/server.js - /verquire\_cache/\_node12/auth0-extension-hapi-tools/1.3.1/node\_modules/auth0-extension-hapi-tools/src/index.js - /data/io/node12/076a9a0a-ca66-49be-a3be-8e476188a147/webtask.js

Is there an issue on Auth0’s side?

Thanks

---

<div class="post-metadata">

**Author:** ![sreejith.nandakumar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sreejith.nandakumar/32/72557_2.png) [@sreejith.nandakumar](https://community.auth0.com/u/sreejith.nandakumar)\
**Post date:** [February 21, 2025, 3:46am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/2 "2025-02-21T03:46:20Z")

</div>

Hi, facing the same issue.

---

<div class="post-metadata">

**Author:** ![Jun\_Ito](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jun_ito/32/71002_2.png) [@Jun\_Ito](https://community.auth0.com/u/Jun_Ito)\
**Post date:** [February 21, 2025, 5:38am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/3 "2025-02-21T05:38:45Z")

</div>

Hey, guys! I’m facing the same issue… ☹  
Does anyone have a solution?

---

<div class="post-metadata">

**Author:** ![Crafter-Yang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/crafter-yang/32/50184_2.png) [@Crafter-Yang](https://community.auth0.com/u/Crafter-Yang)\
**Post date:** [February 21, 2025, 5:54am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/4 "2025-02-21T05:54:14Z")

</div>

Hi, same issue here, we have three tenants but only one failed to login

---

<div class="post-metadata">

**Author:** ![pol0nium](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pol0nium/32/73119_2.png) [@pol0nium](https://community.auth0.com/u/pol0nium)\
**Post date:** [February 21, 2025, 8:24am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/5 "2025-02-21T08:24:22Z")

</div>

Hi, facing the same issue. Please acknowledge quickly!

---

<div class="post-metadata">

**Author:** ![pol0nium](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/pol0nium/32/73119_2.png) [@pol0nium](https://community.auth0.com/u/pol0nium)\
**Post date:** [February 21, 2025, 8:30am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/6 "2025-02-21T08:30:17Z")

</div>

Fixed by updating Auth0 Authorization extension!

---

<div class="post-metadata">

**Author:** ![henrydkm](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/henrydkm/32/73120_2.png) [@henrydkm](https://community.auth0.com/u/henrydkm)\
**Post date:** [February 21, 2025, 8:40am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/7 "2025-02-21T08:40:37Z")

</div>

In tenant update Auth0 Authorization extension

Extensions \> Installed Extensions : Update Auth0 Authorization

To test if now working, one can click the extension name which opens in a new tab.

---

<div class="post-metadata">

**Author:** ![get\_lele](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/get_lele/32/49551_2.png) [@get\_lele](https://community.auth0.com/u/get_lele)\
**Post date:** [February 21, 2025, 8:42am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/8 "2025-02-21T08:42:19Z")

</div>

Yes, after update the Extension, working again.

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 21, 2025, 8:45am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/9 "2025-02-21T08:45:41Z")

</div>

Thank you @henrydkm - yes please all make sure your extension is using the latest version. This can be checked by going into your tenant’s extensions page \> installed extensions tab, and clicking the update button:  
 ![image](https://global.discourse-cdn.com/auth0/optimized/3X/0/8/08ed7fca3452cec09f076bb4a49b5278ff370656_2_690x50.png)

---

<div class="post-metadata">

**Author:** ![rd3-sophia](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rd3-sophia/32/71992_2.png) [@rd3-sophia](https://community.auth0.com/u/rd3-sophia)\
**Post date:** [February 21, 2025, 8:49am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/10 "2025-02-21T08:49:24Z")

</div>

I did update the extension, but the following error still occurs:

Authorization Extension Error:“value” must be of type object

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [February 21, 2025, 9:06am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/11 "2025-02-21T09:06:04Z")

</div>

I couldn’t reproduce this Sophia using the latest version of the extension, this error may be coming from your own extensibility code (Actions, Rules, Custom Database scripts or Hooks).  
Please try republishing the rule from the Authorization Extension’s Configuration page and checking any of your custom code. The realtime webtask logs extension can be useful for debugging code and locating where the error is coming from by adding in console.log lines for example.  
We also recommend preparing your code for moving to Node 22, and there should be a notification in your tenant’s dashboard providing more detail on this:

> **[Auth0 Changelog](https://auth0.com/changelog#6y3ocHXDsxHZLQ5LN8xSgw)**
>
> Advanced identity management can be very hard. Very often, unnecessarily hard. At Auth0 we want to change that, by simplifying as much as possible.

---

<div class="post-metadata">

**Author:** ![alex52](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex52/32/70995_2.png) [@alex52](https://community.auth0.com/u/alex52)\
**Post date:** [February 23, 2025, 7:13pm UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/12 "2025-02-23T19:13:27Z")

</div>

I had this the other night. I solved it by updating the extension, but I’d like to know, why did everything suddenly stop working for us because of this issue? Users could all of a sudden no longer login.

---

<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 11, 2025, 2:46am UTC](https://community.auth0.com/t/failed-login-with-authorization-extension-compilation-failed/182558/14 "2025-03-11T02:46:10Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
