Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic auth will be deprecated #43

Open
atmartins opened this issue Oct 9, 2019 · 6 comments
Open

Basic auth will be deprecated #43

atmartins opened this issue Oct 9, 2019 · 6 comments

Comments

@atmartins
Copy link

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.

@luandy64
Copy link
Contributor

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.

@atmartins
Copy link
Author

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.

@luandy64
Copy link
Contributor

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.

@rpaterson
Copy link
Contributor

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.

@diegojardon
Copy link

diegojardon commented Mar 10, 2021

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!

@KBorders01
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants