-
Notifications
You must be signed in to change notification settings - Fork 411
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
OAuth::Problem - parameter_absent #232
Comments
this is still an issue; I am getting the same error today. |
I would guess it come from somewhere in https://github.com/sumoheavy/jira-ruby/blob/d6a061475ff599b534cb1f9c52916c642831fc7b/lib/jira/oauth_client.rb Sadly I have no experience with that so if someone feel like debugging it, it would be really helpful for the community |
thank you I'm taking a run at debugging this. I have extracted and replicated the access token request:
so the problem appears to be that the |
I think the implementation of the |
after digging in the implementation of the I found an issue on the jira developer wiki ([Oauth Jira authentication client issue when requesting token with OAuthTutorialClient-1.0.jar](jira https://community.developer.atlassian.com/t/oauth-jira-authentication-client-issue-when-requesting-token-with-oauthtutorialclient-1-0-jar/16612/5)) which claims that error is not very descriptive and should not be taken literally:
maybe the |
found it! the exchange of the request token for the access token was completing successfully; the failure was during the request for issues using the access token. server logs were complaining about the
see how that I believe that the oauth library is already including the I commented out that code and was able to make a successful call using the access token provided by the library in the |
@SimonMiaou I have found the issue. please see #378 as a possible workaround. I added a new feature flag to optionally disable the extra addition of the please let me know if this approach is acceptable or if you would prefer something different, and of course naming is hard ™️ so please change or request whatever you wish. |
Hi,
I'm new to this gem. I have setup oauth authentication in my Sinatra app and am trying to connect to our hosted instance of JIRA. I've created the application link, generated the key and certificate (couldn't get your rake tasks to work in my Sinatra app btw, so I ran them manually) and I've created an oauth dance (your words, not mine), based on the examples in your documentation.
The thing is, when I trigger the
init_access_token
method (where I passoauth_verifier: params[:oauth_verifier]
, which is present, as the only argument), it raises anOAuth::Problem
with the messageparameter_absent
. The parameter it says it's missing is theoauth_token
, I've tried passing that to theinit_access_token
method (as it's the second param and it's used nowhere in your example), to no avail.Does anyone know where to look?
The text was updated successfully, but these errors were encountered: