Create your OKTA JIRA ruby ​​login

I need to authenticate to JIRA with Okta via REST, how can I do this in ruby? Maybe? I have never done this before, I just want to get the attached file from a ticket in JIRA

+6
source share
2 answers

You should be able to do this by setting Application Link to a ruby ​​web application with 2-sided OAuth, but it is rather complicated and heavy.

I would like to figure out a way to do this only with basic auth and without Application Link, but I still haven't figured out how to do this.

+1
source

It turns out you can just send the JSESSIONID cookie from a registered user (e.g. yourself) to the REST API. You can either get the cookie manually from the browser or write a browser extension to get the cookie, and then call your Ruby script with this cookie value as a command line argument. For Chrome, you can use Chrome Native Messaging to do this.

+1
source

All Articles