HI
Just want to know if it is possible to use Oauth authenticaton without admin access or admin interaction. If not any other possibilities apart from Basic authentication. Cause we are using Single sign on. I want to consume the rest api.
Thanks in advance.
Hello @Sarath T ,
Welcome to the Atlassian Community!
I am not sure I understand your requirements correctly, but from what I understand you are asking if you can use Oauth to authenticate REST API calls towards Jira.
If this is the case, as mentioned in the OAuth 1.0a for REST APIs (Legacy) documentation page, it is currently still possible to use Oauth1, but it is not recommended:
OAuth 1.0a is a legacy authentication method and, therefore, isn't recommended. Instead, check out the following for details of the recommended authentication approaches for:
- Forge apps, see Security for Forge apps.
- Connect apps, see Security for Connect apps.
- Connect apps that act on behalf of the user, see User impersonation for Connect apps.
- Non-Connect apps created in the developer console, see OAuth 2.0 (3LO) apps.
- Simple scripts or to make REST API calls yourself, see Basic auth for REST APIs.
See the about page for more information on the options for developing with Jira Cloud platform.
Please review below pages for details and once done, in case of further question, please provide more details on your scenario and what you are trying to achieve:
Cheers,
Dario
Hi Dario
To use the Oauth 1.0 we need to create the application links rights? But i couldn't find it in my console.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@T Sarath Kumar are you just @Sarath T with a different account?
However, I believe I now understand what you mean with:
without admin access or admin interaction
Sorry for previously misunderstanding.
In this case then no, you cannot use Oauth since you need admin access in order to create application links via the UI or REST API.
In your case the only option is indeed basic authentication with an Atlassian account email address and API token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.