Previously we use basic authentication to consume Jira REST API and display Jira tasks in the UI application. Our UI app directly sent a request with Authorisation header (basic auth) and received an answer.
As basic auth is deprecated now we have to migrate to OAuth for REST APIs. here is an example of how it might be implemented with java app, but how to do the same process directly from the client application? Shell we somehow handle RSA-SHA1 keys from UI as well?
Any feedback is appreciated.
i am currently having the same issue with a React app; what i discovered so far: you can't do a POST request from your react frontend because of CORS policy. So you should do it via your backend. I saw that there is a way to whitelist domains in jira SERVER, but i can't find this option for jira SOFTWARE; in doing so, you could whitelist your localhost or front end site, and send POST request to Jira and create ticket for example. I am still using basic Auth.
This is what i discovered so far, but i'm investigating more to see if i can directly create a ticket with a post request from frontend, without the need of using backend
Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events