# Auth code flow broken seemingly out of nowhere (lots of downdetector reports)

**URL:** <https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [April 25, 2023, 8:43pm UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509 "2023-04-25T20:43:48Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![zlee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zlee/32/46686_2.png) [@zlee](https://community.auth0.com/u/zlee)\
**Post date:** [April 25, 2023, 8:43pm UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/1 "2023-04-25T20:43:48Z")

</div>

We noticed a couple hours ago that we could no longer authenticate using the Authorization Code flow. Instead of being redirected to localhost:39507 with the authorization code so that we can exchange it for the token, we are redirected to localhost:39507 with content that looks like:

```auto
error: "access_denied"
error_description: "actions-runtime execution request failed%3A rpc error%3A code %3D Internal desc %3D internal"
state: "83e25575-5604-4f55-8dda-d01a40d7169b"

```

Downdetector suggests that this may be an issue on your end which you are not aware of yet, so wanted to flag in case: [https://downdetector.com/status/auth0/](https://downdetector.com/status/auth0/)  
All of our login flows that use auth0 started failing at once and we did not make any code changes we can connect to this error recently.

Thanks for any info / help you can give!

---

<div class="post-metadata">

**Author:** ![zlee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/zlee/32/46686_2.png) [@zlee](https://community.auth0.com/u/zlee)\
**Post date:** [April 25, 2023, 9:32pm UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/2 "2023-04-25T21:32:24Z")

</div>

Seems to be resolved now, thanks!

---

<div class="post-metadata">

**Author:** ![babyyoda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/babyyoda/32/12715_2.png) [@babyyoda](https://community.auth0.com/u/babyyoda)\
**Post date:** [April 26, 2023, 1:57pm UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/3 "2023-04-26T13:57:16Z")

</div>

We too experienced this exact issue at this moment in time. Thanks for sharing the details.

---

<div class="post-metadata">

**Author:** ![ajv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ajv/32/8910_2.png) [@ajv](https://community.auth0.com/u/ajv)\
**Post date:** [May 18, 2023, 8:40am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/4 "2023-05-18T08:40:38Z")

</div>

We also experienced this April 25th. The same thing happening for us right now.

---

<div class="post-metadata">

**Author:** ![drew28](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew28/32/45142_2.png) [@drew28](https://community.auth0.com/u/drew28)\
**Post date:** [May 18, 2023, 8:57am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/5 "2023-05-18T08:57:27Z")

</div>

same happening to us right now. no clear resolution. @ajv @zlee @babyyoda - any insights into the cause / solution?

---

<div class="post-metadata">

**Author:** ![ajv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ajv/32/8910_2.png) [@ajv](https://community.auth0.com/u/ajv)\
**Post date:** [May 18, 2023, 9:00am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/6 "2023-05-18T09:00:31Z")

</div>

No, I’ve raised a support ticket with Auth0 and they said they’re looking into it.

---

<div class="post-metadata">

**Author:** ![ajv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ajv/32/8910_2.png) [@ajv](https://community.auth0.com/u/ajv)\
**Post date:** [May 18, 2023, 9:03am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/7 "2023-05-18T09:03:10Z")

</div>

Our production tenant has recovered now, dev tenant is still throwing the same error.

---

<div class="post-metadata">

**Author:** ![andyw](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@andyw](https://community.auth0.com/u/andyw)\
**Post date:** [May 18, 2023, 9:03am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/8 "2023-05-18T09:03:28Z")

</div>

Same here. It’s related to action execution so a potential workaround is to switch off any actions you have hooked up temporarily, if that is at all viable. That’s what I’ve just done on our account because we only utilise actions for adding custom claims which affect a small subset of users. If you’re not able to switch off actions then you’re probably out of luck until it’s resolved, though ☹

---

<div class="post-metadata">

**Author:** ![ajv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ajv/32/8910_2.png) [@ajv](https://community.auth0.com/u/ajv)\
**Post date:** [May 18, 2023, 9:07am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/9 "2023-05-18T09:07:53Z")

</div>

Auth0 support got back to me - they suggested reverting the custom action from Node 18 (which is in beta for them) back to Node 16.

---

<div class="post-metadata">

**Author:** ![andyw](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@andyw](https://community.auth0.com/u/andyw)\
**Post date:** [May 18, 2023, 9:25am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/10 "2023-05-18T09:25:15Z")

</div>

Yes had that same response, can confirm rolling back fixes the issue. If Node 18 isn’t considered ready for use I’d possibly add a stronger warning to that effect on this banner - especially when shown for an action hooked up to a production flow. Appreciate the runtime is still labelled as Beta, but Node 18 in general is in LTS and is stable, so I think it’s reasonable to assume upgrading would be incident free for all but the more complicated actions. Alternatively make the upgrade process a bit more than single-click (which could be done accidentally and there’s seemingly no way to revert).

![Screenshot 2023-05-18 at 10.18.53](https://global.discourse-cdn.com/auth0/original/3X/0/e/0e03d417fd3c32849af45c2188b8f2d036f37258.png)

---

<div class="post-metadata">

**Author:** ![ajv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ajv/32/8910_2.png) [@ajv](https://community.auth0.com/u/ajv)\
**Post date:** [May 18, 2023, 9:39am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/11 "2023-05-18T09:39:07Z")

</div>

I gave them the exact same recommendation. Why provide a strong CTA to upgrade at all 🙄

---

<div class="post-metadata">

**Author:** ![gcarter](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gcarter](https://community.auth0.com/u/gcarter)\
**Post date:** [May 18, 2023, 9:40am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/12 "2023-05-18T09:40:10Z")

</div>

Hi, we are seeing the same issue as of 2 hours ago. I can’t see how to view what runtime it is using? It seems odd that it has just randomly broken.

---

<div class="post-metadata">

**Author:** ![ofer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ofer/32/47334_2.png) [@ofer](https://community.auth0.com/u/ofer)\
**Post date:** [May 18, 2023, 9:42am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/13 "2023-05-18T09:42:38Z")

</div>

We’re also experiencing the same issue as of 1-2 hours ago and we haven’t used node18 or made any changes to our environment recently.

Are there issues currently on auth0’s side?

---

<div class="post-metadata">

**Author:** ![andyw](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@andyw](https://community.auth0.com/u/andyw)\
**Post date:** [May 18, 2023, 9:43am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/14 "2023-05-18T09:43:02Z")

</div>

You can see the runtime listed underneath the custom action name on its page. I couldn’t find any way to rollback the version to 16 as such, instead I created a new action in the 16 runtime and copy the code across, then replace the old action in the Flow.

![Screenshot 2023-05-18 at 10.41.05](https://global.discourse-cdn.com/auth0/original/3X/6/e/6e840a4a5d9adc9e054b964cc6cb598e1943bc6f.png)

---

<div class="post-metadata">

**Author:** ![gcarter](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@gcarter](https://community.auth0.com/u/gcarter)\
**Post date:** [May 18, 2023, 9:47am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/15 "2023-05-18T09:47:52Z")

</div>

Thanks I found the versions in the library and yes I have one on node 18 so I created a new action with node 16 and it works.

---

<div class="post-metadata">

**Author:** ![Mark-Buhagiar](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mark-buhagiar/32/20889_2.png) [@Mark-Buhagiar](https://community.auth0.com/u/Mark-Buhagiar)\
**Post date:** [May 18, 2023, 10:03am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/16 "2023-05-18T10:03:34Z")

</div>

Nice to see this isn’t just me!!! I don’t want to have to migrate to Node 16 again, so i’ll wait it out. Hopefulyl they’ll sort out soon. They should update their status page though

---

<div class="post-metadata">

**Author:** ![drew28](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/drew28/32/45142_2.png) [@drew28](https://community.auth0.com/u/drew28)\
**Post date:** [May 18, 2023, 10:31am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/17 "2023-05-18T10:31:06Z")

</div>

we reverted to node 16 and are back.

---

<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:** [May 18, 2023, 11:25am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/18 "2023-05-18T11:25:31Z")

</div>

Hey there everybody!

Yep it seems like we’re experiencing some outage. I will be updating you with information once I learn more about it. Thank you for your understanding!

---

<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:** [May 18, 2023, 11:26am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/19 "2023-05-18T11:26:08Z")

</div>

More on that here:

[https://status.auth0.com/incidents/l0vc09wd28j5](https://status.auth0.com/incidents/l0vc09wd28j5)

---

<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:** [May 18, 2023, 11:41am UTC](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509/21 "2023-05-18T11:41:10Z")

</div>

It is now marked as resolved on our status page that I shared above. Everything is either working normally now or will be working normally in a few moments. Thank you!

[Next page](https://community.auth0.com/t/auth-code-flow-broken-seemingly-out-of-nowhere-lots-of-downdetector-reports/105509.md?page=2)
