We have a requirement to create an integration with Jira where we can create s user, delete a user and a bunch of other things on behalf of a jira cloud admin user.
I have tried Oauth 2.0(3LO) but the create user endpoint returns an error of not being enabled to work with Oauth 2.0. So decided to try out Oauth 1, but on setting up I realize oauth 1.0 is cloud specific, and so for our users to be able to use it the admin has to set up an application link to us.
So wondering if there is another way to accomplish what we want without the hassle of each admin going through the application link setup process
Hello @winning ,
Welcome to the Atlassian Community!
If I understand correctly you are building an app to manage users in Jira and you would like to know the best way to authenticate it. Is this correct?
If this is correct, then you might want to review the below page:
There are a few basic options for security, depending on what sort of app you are trying to make:
- Forge apps use OAuth 2.0 when authenticating with Jira. Scopes are an OAuth 2.0 mechanism that limits an app's access to a user's account. The Forge platform also provides managed APIs to make requests on behalf of the user, meaning that third-party code is never trusted with user credentials.
- Connect apps have HTTPS and JWT authentication built in to secure communication between your app, Jira, and the user. Our Connect toolkits, Atlassian Connect Express (ACE) and Atlassian Connect for Spring Boot, handle most of the security setup for new apps. Note that OAuth 2.0 (3LO) isn't supported for Connect apps.
- OAuth 2.0 (3LO) apps use OAuth 2.0 (3LO) to pass permissions and data from Jira.
- Basic auth is supported for making API calls, but is not recommended unless you have other security measures in place.
Read the Security overview for more details.
In your case I'd suggest to build a connect app. For further details on this please see:
Also, for the future, please notice that this might not be the best place to get help on development related questions. The best resources are the ones listed in https://developer.atlassian.com/resources.
I hope this helps.
The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...
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