It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Are there examples of using Spring oAuth to headlessly authenticate REST calls for Jira?

I'm writing an application that invokes REST calls to Jira, and want to use oAuth to authenticate the application (not the user of the application) with Jira.  I understand that I can use basic authentication in this model, but given the warnings about deprecation of the basic authentication mechanism for cloud, and the generally better security of the oAuth model, I'd prefer not to use basic authentication

 

That said, the authentication that has to happen is application-to-application; not user-to-application.  I need for my application to have privileges that the user might not have him/herself (i.e. the ability to aggregate data from multiple projects, some of which my application user might not have access to).  This then, has to be a "headless" interaction between Jira and my application.

 

I'm having a hard time with two pieces of this process:

  1. The sample application clearly has the user interacting with the authentication process; I can't find a sample that is non-interactive
  2. I'm getting caught up in the differences between Google's implementation and Spring's implementation (we're a Spring shop here, and I'm not sure if Google packages are permitted in our code).

 

If anyone can point me in the direction of examples of headless oAuth with Spring, I would very much appreciate it.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

Community Events

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

Events near you