coreos / issue-sync

A tool for synchronizing issue tracking between GitHub and JIRA
Apache License 2.0
124 stars 34 forks source link

Add OAuth support for JIRA #16

Closed MorganEPatch closed 7 years ago

MorganEPatch commented 7 years ago

Depends on #15.

If a JIRA username or password are provided, Basic Authentication is still used, but otherwise, OAuth is used. If an access token is provided in the configuration file, it is used; otherwise, a token is requested via OAuth handshake, which requires that the consumer secret and private key be provided in the configuration file. The access token is saved in the config file at the end.

@squat

MorganEPatch commented 7 years ago

Step 1 of this document contains all the information on setting up your consumer secret and private key.

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

MorganEPatch commented 7 years ago

@squat Fixed.