node-jira-client icon indicating copy to clipboard operation
node-jira-client copied to clipboard

Is there any support for cookies based auth?

Open benjaminch opened this issue 8 years ago • 1 comments

Hello there,

First of all, thanks for this great lib :)

Wondering if this lib supports the cookies based auth using jsessionid as described here : https://developer.atlassian.com/jiradev/jira-apis/about-the-jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-cookie-based-authentication?

The point is to get a session id once login the user, and then use the session id for every API call until it expires and ask again for a new session id for the user :

headers: {cookie: JSESSIONID=6E3487971234567896704A9EB4AE501F}

The goal is not to pass any user / pass along within each requests ans thus don't trigger the auth workflow every time.

Thanks :)

benjaminch avatar Nov 22 '17 13:11 benjaminch

See my pending PR #196.

JamesMGreene avatar Apr 06 '18 17:04 JamesMGreene