# Implement OAuth2.0 for ServiceNow to Jira REST Integration

**URL:** <https://community.developer.atlassian.com/t/implement-oauth2-0-for-servicenow-to-jira-rest-integration/36153>\
**Category:** Jira Data Center\
**Tags:** oauth2, servicenow, oauth, rest-api\
**Created:** [February 28, 2020, 4:48pm UTC](https://community.developer.atlassian.com/t/implement-oauth2-0-for-servicenow-to-jira-rest-integration/36153 "2020-02-28T16:48:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maricelflores](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@maricelflores](https://community.developer.atlassian.com/u/maricelflores)\
**Post date:** [February 28, 2020, 4:48pm UTC](https://community.developer.atlassian.com/t/implement-oauth2-0-for-servicenow-to-jira-rest-integration/36153/1 "2020-02-28T16:48:18Z")

</div>

Our team is implementing a ServiceNow (Madrid) to Jira (datacenter) integration via REST API calls. We currently have the connection implemented successfully using basic authentication and a Jira service account.

We need to move to OAuth2.0 auth though and were provided the below documentation to do this:  
[https://developer.atlassian.com/server/jira/platform/oauth/](https://developer.atlassian.com/server/jira/platform/oauth/)

Thing is, all the documentation (including the above) references REST API calls only supporting OAuth1.0a. I’ve opened a ticket with Atlassian support and they confirm that REST API calls support OAuth2.0 but I cannot find any documentation on how to implement that - particularly with ServiceNow which requires the key/secret pair as well as the token refresh URL (which the Jira team just will not provide) and SN does not store the RSA like you would do in a typical Java REST implementation.

Does anyone have any documentation on setting up OAuth2.0 for REST API calls for Jira as the provider?

---

<div class="post-metadata">

**Author:** ![nmansilla](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/nmansilla/32/33772_2.png) [@nmansilla](https://community.developer.atlassian.com/u/nmansilla)\
**Post date:** [March 6, 2020, 12:23am UTC](https://community.developer.atlassian.com/t/implement-oauth2-0-for-servicenow-to-jira-rest-integration/36153/2 "2020-03-06T00:23:01Z")

</div>

@maricelflores - OAuth 2.0 is not supported on Jira Server / DC. There is a feature request filed here ([[JRASERVER-43171] OAuth 2.0 Support - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/JRASERVER-43171)) that you can comment/vote on.

Perhaps the information you received was re: Jira Cloud, which does have support for [OAuth 2.0 3LO](https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/).
