Sample OAuth Gadget

Karim Heredia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2012

I would like to implement an OAuth gadget that consumes resources from an external, non-Atlassian service provider. I am familiar with the OAuth specification on service providers and consumers.

However, documentation on how to do this from Jira is very very scarce (cannot overstate it). I found today this link with more information: https://developer.atlassian.com/pages/viewpage.action?pageId=7897390

This points to this sample OAuth gadget: https://studio.atlassian.com/source/viewrep/AG/trunk/sample-gadgets-plugin/src/main/resources/oauth.xml?r=43258. I would like to get my hands on that code, but it turns out that it's not accessible, even after creating an account on Fisheye. Is there any chance you could make that public together with the documentation or post a snippet of that here?

Thanks,

Karim

1 answer

0 votes
Tanel Tenso April 3, 2012

Asked from support and they told that this project (and thus the source) is included in Jira 5.x source code distribution. So if you have a valid licence then you can source from there. But it seems to me that exposing samples to potential gadget creators would be benefial also.

Regrads,
Tanel

Suggest an answer

Log in or Sign up to answer