-
Notifications
You must be signed in to change notification settings - Fork 7
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
Trouble with Authentication #14
Comments
Hello @m-skolnick, It seems you may be trying to use it with the legacy "server" mode? Which probably is an old version of the http API with a different authentication method... |
I think you're right. I haven't had any issues with the API found here: https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/ If I do get it generated, would you like me to put a PR back into this repo to allow the user to choose between v2 or v3? |
If you find the openapi files for those v2 apis and it works directly with the generator in this package, then yes why not. We can add them as I suspect it will be a bit more complex. You may find some old swagger schemas and that would require some big changes in the generator. In that case, maintaining it in a new package will be simpler... |
Sounds good. I'll give it a shot when I get a chance. Thanks for your time. |
Hello, thanks for such a beautiful API.
TLDR: I can't authenticate with v3 apis. When I change URLs to v2, I can get it working, but not with v3.
I am having the same issue with curl commands.
Below is how I am using the client:
It looks like you're authenticating in the BasicAuthenticationClient like so:
I get the same error in curl and Dart from above:
Error:
However, if I:
rest/api/3/issue/createmeta -> rest/api/2/issue/createmeta
Curl also works with api v2:
Any advice would be greatly appreciated.
The text was updated successfully, but these errors were encountered: