Hi everyone,
I am using atlassian-connect-spring-boot for my Jira cloud add-on.
When I am testing on my test cloud environment with the application deployed on a local server (localhost exposed with ngrok) everything works fine - I can install the add-on and then make jwt authenticated requests to the add-on app from the cloud.
Now I am creating a private app on the marketplace by providing the URL to the add-on descriptor.
I can open and see the descriptor in the browser.
In order to install a private app on a cloud instance you can’t pass the descriptor URL as it is - you need to use a dynamic URL generated by the market place for the specific add-on version you want to install.
So I am trying to install the add-on with the generated URL. I can open and see my descriptor using this URL, but when I try to install the add-on I am getting 401 Unauthorized error: “The add-on host returned HTTP response code 401 when we tried to contact it during installation. Please try again later or contact the add-on vendor.”
It seems to me that atlassian-connect-spring-boot is rejecting every request without the JWT token except the base URL to the descriptor, but in my case I need to use the dynamically generated descriptor URL for the installation, so I am getting 401.
As I said the URL is dynamic so I can’t find a way to overcome this problem.
Is there anyone facing the same issue?
Any ideas would be helpful.
Thanks!
Regards, Elitza Haltakova