Skip to content

It is not possible to use other authentication methods besides Basic. #21

@dgpratt

Description

@dgpratt

JIRA documentation claims that JIRA supports OAuth for API authentication and I have personally confirmed that NTLM also works. Unfortunately, it doesn't seem possible to use anything other than Basic authentication with JiraRestClient.

If I submit a pull request to permit alternate methods of authentication, is there a good chance it will get accepted? I was thinking to add an alternate constructor to JiraClient that accepts a parameter of type IAuthenticator (defined in the RestSharp library) in lieu of username and password.

I was also thinking that it would make sense to use HttpBasicAuthenticator in the default case, rather than manually adding the Basic auth header to the request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions