Hello,
As the title says I would like to POST back data to my connect app which is on a private server.
I need it for the following AUTH flow that I would use:
- User installs APP on Jira
- A connect button appears in an issue as a glance
- User clicks > redirect to a site where he is asked to authenticate
- When AUTH process completed he will receive an API key which he can use for a fixed amount of time to perform requests in the site
The POST back should happen on this step.
I’ve tried so far to get the JWT token from the current context of the connect app in the issue: AP.context.getToken() and use the token to access the app but I get Unauthorized: JWT claim did not contain the query string hash (qsh) claim meaning the token cannot be used for outside app access.
I know that the steps above sound like an OAuth flow, but as I explained the steps we currently don’t support OAuth authorizations in a standard way.
Please keep in mind that I’m new to Jira Cloud.
Any ideas related to this topic would be appreciated!