Auth0 Home Blog Docs

I'm unable to uninstall Authorization extension and get Internal Server Error

authorization-extens
uninstalling-extensi

#1

Please follow this link to see what is going on. http://i.imgur.com/tTDNlVR.gifv

{
    "date": "2017-04-04T01:50:19.371Z",
    "type": "feccft",
    "description": "Unauthorized",
    "connection_id": "",
    "client_id": "45FZpUyxkv3xXx1V2FFXjuECkUxxVDuK",
    "client_name": null,
    "ip": "54.67.15.170",
    "user_agent": "node-superagent/2.3.0",
    "user_id": "",
    "user_name": "",
    "audience": "https://yudiel.auth0.com/api/v2/",
    "scope": null
    }

Chrome Network Tab = > http://imgur.com/bu0E7xG


#2

Hi,

One of the most frequent reasons why this happens is because the client that the Authorization Extension creates, auth0-authz, was deleted. It shouldn’t be deleted, as explained in our documentation.

To fix this issue, the Authorization Extension has to be removed by deleting the webtask it creates.

  • Go to Account Settings - Webtasks, follow the instructions to install wt-cli and set it up. (Step 1 and 2)
  • (Optional) List the extensions you have installed by using wt ls -p {tenant-profile}. The tenant profile is usually “your-tenant-default” and it’s established when you’re setting up wt.
  • Use wt rm {extension-hash} -p {tenant-profile} to remove the extension. The hash of the Authorization Extension is adf6e2f2b84784b57522e3b19dfc9201.

After doing this you can reinstall the extension if needed. Please make sure that the client auth0-authz is not deleted, it will be removed automatically if you uninstall the extension.

Regards,


#3

It worked, thank you.


#4