Okay so I hosted my node.js app on heroku with a postgres database, and created a private listing on the marketplace. When I manually upload my app with upm to jira everything's fine, but when I uninstall it and install it again I get this error when opening the app:
I can fix this by resetting the heroku database and installing the app again.
This is probably because my heroku database doesn't delete the clientID from the database when I uninstall the app and when I want to install it again jira sends the same clientID to the heroku database and it refuses because it exists already.
Is it possible to delete a user from the database when he uninstalls my app? Or maybe there is another solution?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.