-
Notifications
You must be signed in to change notification settings - Fork 412
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
How to get client by access_token #329
Comments
Hi
|
I am encountering the same issue. My application relies on Is there anyway to instantiate the JIRA::Client with just the access token and domain? |
Found an answer in the comments of this PR: #346
I still needed to set username and password to nil to get this to work. |
@JeffKandel |
We ended up using a different approach so I'm not sure. Best of luck! |
@JeffKandel
sometimes |
Did anybody solve this?
I verified my access token using Postman. It worked fine. Also very strange: If I mess with the token in Postman (e.g. putting in something random) I also get an empty array back. So, my assumption here is, that the header is not set properly? |
I implemented OAuth 2.0 and able to get jira access_token and then able to use all jira apis.
Ref: https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/
I need to know how can I JIRA Client by access_token so that I can use all methods of
jira-ruby
gem.`
options = {
....}
client = JIRA::Client.new(options)
`
Under options, what should I pass to get client.
I have created app under JIRA apps and I have client_id, secret token and access_token.
The text was updated successfully, but these errors were encountered: