Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC OAuth authentication with Jira?

I am building an ASP.NET MVC Application and I need to implement OAuth authentication with Jira.

In Jira Bitbucket repository there is an example of how to configure a client with Java and other languages, but nothing for C#.

Can anyone show me an example for a Jira OAuth Client in C#?

https://bitbucket.org/atlassian_tutorial/atlassian-oauth-examples/src/0c6b54f6fefe996535fb0bdb87ad937e5ffc402d/java/src/main/java/com/atlassian/oauth/client/example/?at=default

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/

like image 743
MiBuena Avatar asked Nov 08 '22 19:11

MiBuena


1 Answers

I have a project using this SDK from atlassian Atlassian.NET SDK in order to get my work a little fast, it has an example of using the authentication

Example of using SDK

var jira = Jira.CreateRestClient("http://<your_jira_server>", "<user>", "<password>");
like image 132
Erik Avatar answered Nov 14 '22 23:11

Erik