Cannot delete app after connecting with App Script

I was trying oauth through Google app script (using the oauth2 library). I followed through on the 3LO tutorial here and it worked on the first try but subsequent logins just throws an error.

Since this is all just for testing anyway, I wanted to delete the app off the Developer dashboard but it’s giving me this error:
“We couldn’t delete this app, as it is currently installed somewhere. Uninstall it from all applications and try again.”
I’ve already disconnected to the service on the app script side - is there any other reason why I cannot delete the app?

Thanks.

Just replying because I had the same issue and it can probably be useful to some other google-searcher in the future.
I’m assuming you’re talking about atlassian Cloud (for on premise, I think there are answers out there already).
I had the same issue and I figured out that it’s because once you authorize an app, it’s as if you “installed it”.
Connect to your atlassian user (the profile with which you authorized the access) and follow this link:
https://id.atlassian.com/manage-profile/apps
You should see your app in the linked apps, so just remove it and then you will be able to delete the app.