Introducing the Enhance REST API Access using OAuth tokens – the essential middleware designed to simplify and secure API access to Atlassian Jira Cloud. Our application acts as an intermediary that authenticates tokens from your Identity Provider (IdP) and facilitates their use for accessing Jira’s API. This app empowers administrators to set up automation and scripts effortlessly, eliminating the need to share personal API tokens.
In the modern landscape of integrated applications, managing authentication efficiently and securely is crucial. With the "Enhance REST API Access using OAuth tokens" machine-to-machine integrations are easier and more secure.
Provider Detail | Description |
Provider Name | Identity Provider Name for your reference only; it doesn't affect functionality |
Introspection Endpoint | IDPs introspection endpoint URL is used to verify if the token is active |
Client Id | The unique ID issued by your IDP for authentication |
Client Secret | The secret key issued by your IDP, used to authenticate requests |
[We recommend keeping both as concise and restricted as possible to minimize security risks]
If nothing is configured, the token can be used to access all API methods and APIs
curl -X POST <access_endpoint_from_plugin> -H "apikey: <access_token_from_provider>" -d "{'options': {'method': 'GET','headers': {'Content-Type': 'application/json','Accept':'application/json'}},'url':'/rest/api/3/issue/<valid_issue_key>'}"
curl -X POST <access_endpoint_from_plugin> -H "apikey: <access_token_from_provider>" -d "{'options':{'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/json'},'body':{'fields':{'project':{'id':'<valid_project_id>'},'summary':'CreateIssueviaPOST.','description':'CreatingofanissueviaaPOSTrequestusingtheAPIKeyManager','issuetype':{'id':'<valid_issue_type>'}}}},'url':'/rest/api/2/issue'}"
curl -X POST <access_endpoint_from_plugin> -H "apikey: <access_token_from_provider>" -d "{'options':{'method':'PUT','headers':{'Content-Type':'application/json','Accept':'application/json
'},'body':{ 'accountId': '<valid_user_account_id>' } },'url':'/rest/api/3/issue/<valid_issue_id>/assignee'}"
curl -X POST <access_endpoint_from_plugin> -H "apikey: <access_token_from_provider>" -d "{'options':{'method':'DELETE','headers':{'Content-Type':'application/json','Accept':'application/json'}},'url':'/rest/api/2/issue/<valid_issue_key>' }"
Error Message | Possible Causes | Solution | |
1 | Unauthorized - Invalid Token | The token being used is not valid | Please try accessing with a new token |
2 | Unauthorized - Expired Token | The token being used has expired | Please try accessing with a new token |
3 | Unauthorized - Invalid / Expired Token | The token being used is either invalid or expired | Please try accessing with a new token |
4 | Unauthorized - API access is Restricted | The API or request method is restricted by the admin | Verify if the method and API endpoint are permitted in the API Restriction Tab [Admin section] |
5 | Invalid URL provided | The provided URL is invalid | Please check the request and ensure the URL is correct |
6 | Parameter Missing | Required parameters (e.g., API key, URL) are missing from the request | Ensure all required parameters are included and verify that parameter names are case-sensitive |
7 | Invalid / Expired License | The license for the plugin is either invalid or expired. | Verify that the license is active and valid |
8 | Invalid Configurations - Please configure the provider details in the Client Credentials Tab | Client credential details are not configured | Please enter the required details in the Client Credentials Tab |
9 | Request body is empty | The request body is missing or not found | Ensure the body is included in the correct JSON format and contains all required parameters |
Jira SAML SSO application enables SSO for Jira Software and Jira Service Desk.
Know MoreSecure your Jira Service Management with OAuth/OpenID Connect SSO.
Know MoreEnable 2FA/MFA for users & groups and let users configure 2FA during their first login.
Know MoreIf you don't find what you are looking for, please contact us at support-atlassian@miniorange.atlassian.net or raise a support ticket here.