OAuth issue

Issue #5 resolved
jlo samano created an issue

Comments (7)

  1. Abhin Chhabra Account Deactivated

    Hey joseluissamano,

    I think I've seen this issue before. The add-on is hosted on both https://prguidelines.atlassian.io and on https://prguidelines.useast.atlassian.io. But the oauth consumer for the add-on is based on https://prguidelines.atlassian.io (for its callback URL).

    This means that if you installed the add-on via the https://prguidelines.useast.atlassian.io URL, there will be a mismatch between the consumer and the add-on base-url. I try to use the first URL everywhere I can, but clearly I've missed a spot. So the following steps should fix your issue:

    1. Uninstall the add-on on that account.
    2. Go to https://prguidelines.atlassian.io and click the button that starts the installation.
    3. Make sure to target the same account as before.

    To help me make sure that this doesn't happen in the future, can you tell me where you installed the add-on from?

    Kind regards, Abhin

  2. Abhin Chhabra Account Deactivated

    So I think I know what happened. The URL set in the Bitbucket marketplace was actually the second one. That seems like a mistake and I've fixed it. You should be able to reinstall the add-on from the marketplace itself and your problem should go away.

  3. jlo samano reporter

    I've Uninstalled the add-on on my account and I've installed again from https://prguidelines.atlassian.io but problem persist

  4. Abhin Chhabra Account Deactivated

    I sent you a personal message with some questions to help me with the debugging.

  5. jlo samano reporter

    Hello man.

    Thanks for your help, this url work fine https://prguidelines.atlassian.io

    The problem with other repo was that I don't have permissions for add this addon.

  6. Log in to comment