Error when testing connection for the Github login

After redirecting to the callback, I get this error:
{
“error”: “access_denied”,
“error_description”: “Cannot find module ‘request@2.56.0’\nRequire stack:\n- /data/io/node18/ea80074a-2022-49a0-acf7-fbd94aa06490/webtask.js”
}

Hey there @Dxrk81 welcome to the community!

Do you have any rules, actions or extensions enabled that might be getting in the way?

Hello tyf, this is what confuses me, as I do not have any Actions created (I don’t know about rules, it redirects me when I try to visit the rules page), and I removed all extensions while testing this. I have even tried deleting and reinstalling all node packages. If I’m not wrong, I understood that this may be caused by the account link (?). I only enabled it once then disabled it.

For context, and sorry for not mentioning this earlier, I am using nextjs, as a regular web application, and, looking at the logs, the error has “N/A” in the “connection” field

Thanks for clarifying!

I believe you’re correct - I came across the following GH issue that states a workaround as downgrading to Node 16:

I’m curious if that does the trick for you? I have a suspicion the rule is still active and causing issues despite having disabled the account linking extension.

I was able to inspect your tenant and see that the account linking extension rule is still in place - You could get the rule using the Management API and subsequently delete it.

1 Like

I apologize for the inactivity. As I opened the forum, I stumbled upon this piece of text: “uninstalling the Auth0 Authorization Extenstion did not clean up all of its Rules, so those orphaned rules were causing chaos. Cleaned them up manually and it worked as expected.”, and saw your response right after. I am about to try it, thank you.

1 Like

This worked flawlessly. I really appreciate your help, thank you for helping me resolve this issue. I wish you a great rest of your day!

1 Like

Hey there @Dxrk81 no worries! Thanks a bunch for following up here :slight_smile:

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