tap-jira icon indicating copy to clipboard operation
tap-jira copied to clipboard

Basic auth will be deprecated

Open atmartins opened this issue 5 years ago • 6 comments

Per https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/, basic auth will no longer be supported. Suggestion is to replace the basic auth feature here with api token authorization. The readme should be updated as well, with example config.

atmartins avatar Oct 09 '19 23:10 atmartins

I agree with you on the README update, but only to say that for most people to use OAuth tokens.

We need to keep support for basic auth for the people that run this tap against an on-prem Jira instance. Unless I'm wrong about this.

luandy64 avatar Oct 10 '19 13:10 luandy64

Ah okay, that makes sense. I think the Oauth stuff is pretty difficult to set up, as Atlassian doesn't seem to provide all those values in one place, or with those names. Do you think it would be beneficial to add api token authorization in addition to Basic and OAuth? I'm happy to submit a PR soon if you think that is a good idea.

atmartins avatar Oct 10 '19 22:10 atmartins

Atlassian provides a tutorial on getting the OAuth credentials.

So I think if you go through the tutorial and get these values, then putting those values in a my_tap_config.json should get the tap to run.

If you think the api token auth PR would be easier than the tutorial I linked, feel free to open it.

luandy64 avatar Oct 14 '19 13:10 luandy64

Just tried it and you can specify the auth token instead of password and it works fine. So no code changes needed, maybe just update the README.

rpaterson avatar Sep 22 '20 13:09 rpaterson

I've put the auth token in the password field of the config file but still getting no result ("currently_syncing": null) and of course getting no data. Is this behaviour realated to this issue with Basic Authentication on Jira? Has anyone solved it? (I'm using Python 3.9 by the way) Thanks!

diegojardon avatar Mar 10 '21 17:03 diegojardon

@diegojardon did you select any streams in your catalog JSON file? Putting the API token in the password field with basic authentication works for me as of now.

KBorders01 avatar Aug 03 '21 21:08 KBorders01