/examples/notes/OAuth on Bitbucket - Bitbucket - Atlassian Documentation.html
HTML | 2841 lines | 1838 code | 540 blank | 463 comment | 0 complexity | 5fced167422873626000e561871be622 MD5 | raw file
- <!DOCTYPE html>
- <html class="splitter-invoked"><head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <title>OAuth on Bitbucket - Bitbucket - Atlassian Documentation</title>
-
-
-
-
-
-
-
- <meta http-equiv="X-UA-Compatible" content="IE=EDGE,chrome=IE7">
- <meta charset="UTF-8">
- <meta id="confluence-context-path" name="confluence-context-path" content="">
- <meta id="confluence-base-url" name="confluence-base-url" content="https://confluence.atlassian.com">
- <meta id="atlassian-token" name="atlassian-token" content="3ffb21dabe7a8bd19f8664af0954d2d4f3938b38">
- <meta id="confluence-cluster-node-id" name="confluence-cluster-node-id" value="d6e9a7d8">
- <meta id="confluence-space-key" name="confluence-space-key" content="BITBUCKET">
- <link href="https://f.monetate.net/" rel="dns-prefetch"><link href="https://sb.monetate.net/" rel="dns-prefetch"><script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/e8taqq6v.js" async="" type="text/javascript"></script><script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/ga.js" async="" type="text/javascript"></script><script async="" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/custom.js" type="text/javascript"></script><script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/intercom.js" async="" type="text/javascript"></script><script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/analytics.js" async="" id="analytics-js" type="text/javascript"></script><script type="text/javascript">
- var contextPath = '';
- </script>
-
- <meta name="confluence-request-time" content="1420384952429">
-
- <script type="text/x-template" title="create-draft">
- <div class="publisher-dialog">
- <form action="#" method="post" class="aui create-draft-dialog">
- <div>
- <label for="create-draft-title">Title</label>
- <input class="text" type="text" id="create-draft-title" name="title" title="Title">
- </div>
- </form>
- </div>
- </script>
- <script type="text/x-template" title="publisher-dialog-page1">
- <div class="publisher-dialog">
- <div class="publisher-dialog-comment">
- <form action="#" method="post" class="aui publish-comment-form">
- <div>
- <label for="publish-comment">Version Comment</label>
- <input class="text" type="text" id="publish-comment" name="publish-comment" title="Version Comment">
- </div>
- </form>
- </div>
- <div class="publisher-dialog-pages">
- <table class="aui">
- <tr>
- <th class="publisher-dialog-pages-title">Page Title</th>
- </tr>
- </table>
- </div>
- </div>
- </script>
- <script type="text/x-template" title="publisher-dialog-page2">
- <div class="publisher-dialog">
- <div class="publisher-dialog-progress">
- <div class="publisher-dialog-progress-icon"></div><span class="publisher-dialog-progress-message">Progress ...</span>
- </div>
- <div class="publisher-dialog-pages-progress">
- <table class="aui">
- <tr>
- <th class="publisher-dialog-pages-title">Page Title</th>
- <th class="publisher-dialog-pages-status">Changes in Original</th>
- </tr>
- </table>
- </div>
- </div>
- </script>
- <script type="text/x-template" title="publisher-dialog-page">
- <tr>
- <td class="publisher-dialog-pages-title"><a href="{1}" target="_blank">{0}</a></td>
- </tr>
- </script>
- <script type="text/x-template" title="publisher-dialog-page-progress">
- <tr>
- <td class="publisher-dialog-pages-title"><a href="{1}" target="_blank">{0}</a></td>
- <td class="publisher-dialog-pages-status">{2}<a href="{3}" target="_blank">{4}</a></td>
- </tr>
- </script>
-
-
- <meta name="ajs-is-confluence-admin" content="false">
- <meta name="ajs-connection-timeout" content="10000">
- <meta name="ajs-discovered-plugin-features" content="$discoveredList">
- <meta name="ajs-use-keyboard-shortcuts" content="true">
- <meta name="ajs-keyboardshortcut-hash" content="d938bb952da0d6da690b55512b673be3">
-
- <script type="text/x-template" title="gliffy-webpanel-footer">
- <div class="gliffy-webpanel-footer"><span></span></div>
- </script>
-
-
-
- <meta name="ajs-page-id" content="238027431">
- <meta name="ajs-latest-page-id" content="238027431">
- <meta name="ajs-content-type" content="page">
- <meta name="ajs-page-title" content="OAuth on Bitbucket">
- <meta name="ajs-parent-page-title" content="Use the Bitbucket REST APIs">
- <meta name="ajs-parent-page-id" content="222724129">
- <meta name="ajs-space-key" content="BITBUCKET">
- <meta name="ajs-space-name" content="Bitbucket">
- <meta name="ajs-from-page-title" content="">
- <meta name="ajs-can-remove-page" content="false">
- <meta name="ajs-context-path" content="">
- <meta name="ajs-base-url" content="https://confluence.atlassian.com">
- <meta name="ajs-version-number" content="5.6.4">
- <meta name="ajs-build-number" content="5637">
- <meta name="ajs-remote-user" content="">
- <meta name="ajs-current-user-fullname" content="">
- <meta name="ajs-current-user-avatar-url" content="">
- <meta name="ajs-static-resource-url-prefix" content="/s/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/_">
- <meta name="ajs-global-settings-attachment-max-size" content="146800640">
- <meta name="ajs-user-locale" content="en_GB">
- <meta name="ajs-enabled-dark-features" content="captcha-level.easy,draggable.disabled,confluence-monitoring.enable,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageEditedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.tasklist.event.SendTaskEmailEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.comment.CommentCreateEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageMovedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.follow.FollowEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.sharepage.api.ShareContentEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostUpdateEvent,notification.plugin.api.enabled.com.atlassian.confluence.plugins.mentions.api.ConfluenceMentionEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.attachment.AttachmentBatchUploadCompletedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.security.ForgotPasswordEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.page.async.PageCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.like.LikeCreatedEvent,notification.plugin.api.enabled.com.atlassian.confluence.event.events.content.blogpost.BlogPostMovedEvent">
- <meta name="ajs-atl-token" content="3ffb21dabe7a8bd19f8664af0954d2d4f3938b38">
- <meta name="ajs-confluence-flavour" content="VANILLA">
- <meta name="ajs-user-date-pattern" content="dd MMM yyyy">
- <meta name="ajs-date.format" content="MMM dd, yyyy">
-
- <link rel="shortcut icon" href="https://confluence.atlassian.com/s/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/_/favicon.ico">
- <link rel="icon" type="image/x-icon" href="https://confluence.atlassian.com/s/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/_/favicon.ico">
- <link rel="search" type="application/opensearchdescription+xml" href="https://confluence.atlassian.com/opensearch/osd.action" title="Atlassian Documentation">
- <script>
- window.WRM=window.WRM||{};window.WRM._unparsedData=window.WRM._unparsedData||{};
- WRM._unparsedData["com.atlassian.plugins.atlassian-plugins-webresource-plugin:context-path.context-path"]="\"\"";
- WRM._unparsedData["com.atlassian.confluence.plugins.confluence-license-banner:confluence-license-banner-resources.license-details"]="{\"daysBeforeLicenseExpiry\":0,\"daysBeforeMaintenanceExpiry\":0,\"showLicenseExpiryBanner\":false,\"showMaintenanceExpiryBanner\":false,\"renewUrl\":null,\"salesEmail\":null}";
- </script>
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch_004.css" media="all">
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch_002.css" media="print">
- <!--[if lt IE 9]>
- <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/197494/_/download/superbatch/css/batch.css?conditionalComment=lt+IE+9" media="all">
- <![endif]-->
- <!--[if lte IE 8]>
- <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/197494/_/download/superbatch/css/batch.css?conditionalComment=lte+IE+8" media="all">
- <![endif]-->
- <!--[if lte IE 9]>
- <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e-CDN/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/197494/_/download/superbatch/css/batch.css?conditionalComment=lte+IE+9" media="all">
- <![endif]-->
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch.css" media="all">
- <!--[if lt IE 9]>
- <link type="text/css" rel="stylesheet" href="/s/6c0981174e94142364564819dc0d1413-CDN/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/7639feacc424ba916708d1702b96e280/_/download/contextbatch/css/atl.confluence.plugins.pagetree-desktop,main,viewcontent,atl.general,page/batch.css?conditionalComment=lt+IE+9&highlightactions=true&locale=en-GB&flavour=VANILLA" media="all">
- <![endif]-->
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch_003.css" media="all">
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/org.css" media="all">
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/confluence.css" media="all">
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/com.css" media="all">
- <script type="text/javascript" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch_002.js"></script>
- <!--[if lte IE 8]>
- <script type="text/javascript" src="/s/6c0981174e94142364564819dc0d1413-CDN/en_GB/5637/e1ef10868e8fe2f234a1a0b171b01cde1d9717c4.27/197494/_/download/superbatch/js/batch.js?conditionalComment=lte+IE+8&locale=en-GB" ></script>
- <![endif]-->
- <script type="text/javascript" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/batch.js"></script><style type="text/css"></style><style type="text/css">@charset "UTF-8";[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\:form{display:block;}</style>
- <script type="text/javascript" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/com.js"></script>
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/colors.css" media="all">
- <link type="text/css" rel="stylesheet" href="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/custom.css" media="all">
-
- <script type="text/javascript">
- // temp fix to fix find-replace
- var $ = AJS.$;
- </script>
- <script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/1053703113.js"></script>
- <script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/atl-analytics.js"></script>
- <script type="text/javascript">ace.analytics.Initializer.initWithPageAnalytics('9nfqb81km3');</script>
- <!-- Begin Monetate tag v8. -->
- <script type="text/javascript"> var monetateT = new Date().getTime(); (function() { var p = document.location.protocol; if (p == "http:" || p == "https:")
- { var m = document.createElement("script"); m.type = "text/javascript"; m.src = (p == "https:" ? "https://s" : "http://") + "e.monetate.net/js/2/a-69b737fe/p/atlassian.com/entry.js"; var e = document.createElement("div"); e.appendChild(m); document.write(e.innerHTML); }
- })(); </script><script src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/entry.js" type="text/javascript"></script>
- <!-- End Monetate tag. -->
-
- <link rel="canonical" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket">
- <link rel="shortlink" href="https://confluence.atlassian.com/x/pwIwDg">
- <meta name="wikilink" content="[BITBUCKET:OAuth on Bitbucket]">
- <meta name="page-version" content="43">
- <script async="" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/1482096478-1.js" type="text/javascript"></script></head>
- <body data-aui-version="5.4.4-CONFDEV-21873" onload="placeFocus()" id="com-atlassian-confluence" class="theme-documentation aui-theme-default aui-layout splitter-invoked">
-
- <div id="stp-licenseStatus-banner"></div>
- <div id="full-height-container">
- <div id="header-precursor">
-
- </div>
- <div style="display: none;" id="pas-announcement"><span></span><a id="more-info" target="_blank">(more info)</a><button id="dismiss-announcement" class="pas-announcement-right">✖</button><span class="pas-announcement-right"></span></div><header id="header" role="banner">
- <nav data-aui-responsive="true" class="aui-header aui-dropdown2-trigger-group" role="navigation"><div class="aui-header-inner"><div class="aui-header-before"><a class="aui-dropdown2-trigger app-switcher-trigger" aria-owns="app-switcher" aria-haspopup="true" tabindex="0"><span class="aui-icon aui-icon-small aui-iconfont-appswitcher">Linked Applications</span></a><div id="app-switcher" class="aui-dropdown2 aui-style-default"><div class="aui-dropdown2-section"><ul class="nav-links"><li class="nav-link"><a href="https://answers.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://answers.atlassian.com"><span class="nav-link-label">Atlassian Answers</span></a></li><li class="nav-link"><a href="https://jira.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://jira.atlassian.com"><span class="nav-link-label">Atlassian Bugs & Feature Requests</span></a></li><li class="nav-link"><a href="https://developer.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://developer.atlassian.com"><span class="nav-link-label">Atlassian Developers</span></a></li><li class="nav-link"><a href="http://www.atlassian.com/resources/experts" class="aui-dropdown2-radio interactive" title="http://www.atlassian.com/resources/experts"><span class="nav-link-label">Atlassian Experts</span></a></li><li class="nav-link"><a href="https://support.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://support.atlassian.com"><span class="nav-link-label">Atlassian Support</span></a></li><li class="nav-link"><a href="https://university.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://university.atlassian.com"><span class="nav-link-label">Atlassian University</span></a></li><li class="nav-link"><a href="https://aug.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://aug.atlassian.com"><span class="nav-link-label">Atlassian User Groups</span></a></li><li class="nav-link"><a href="https://my.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://my.atlassian.com"><span class="nav-link-label">My Atlassian</span></a></li><li class="nav-link"><a href="https://ecosystem.atlassian.net/" class="aui-dropdown2-radio interactive" title="https://ecosystem.atlassian.net/"><span class="nav-link-label">Ecosystem JIRA</span></a></li><li class="nav-link nav-link-local"><a href="https://confluence.atlassian.com/" class="aui-dropdown2-radio interactive checked" title="https://confluence.atlassian.com/"><span class="nav-link-label">Atlassian Documentation</span></a></li><li class="nav-link"><a href="http://bitbucket.org/atlassian/" class="aui-dropdown2-radio interactive" title="http://bitbucket.org/atlassian/"><span class="nav-link-label">Bitbucket</span></a></li><li class="nav-link"><a href="https://answers.atlassian.com/" class="aui-dropdown2-radio interactive" title="https://answers.atlassian.com/"><span class="nav-link-label">Atlassian Answers</span></a></li></ul></div></div><script>
- (function (NL) {
- var initialise = function () {
- // For some milestones of AUI, the atlassian soy namespace was renamed to aui. Handle that here by ensuring that window.atlassian is defined.
- window.atlassian = window.atlassian || window.aui;
- new NL.AppSwitcher({
- dropdownContents: '#app-switcher'
- });
- };
- if (NL.AppSwitcher) {
- initialise();
- } else {
- NL.onInit = initialise;
- }
- }(window.NL = (window.NL || {})));
- window.NL.isUserAdmin = false</script></div><div class="aui-header-primary"><h1 id="logo" class="aui-header-logo aui-header-logo-custom"><a href="https://confluence.atlassian.com/"><img data-aui-responsive-header-index="0" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/confluence-logo.png" alt="Atlassian Documentation"></a></h1><ul style="width: auto;" class="aui-nav">
- <li>
-
-
-
- <a id="space-menu-link" class="aui-nav-link aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="space-menu-link-content" title="Spaces"><span class="browse">Spaces</span><span class="aui-icon-dropdown"></span></a><div id="space-menu-link-content" class="aui-dropdown2 aui-style-default aui-dropdown2-in-header" aria-hidden="false"></div>
- </li>
- <li id="browseMenu" role="menu">
-
-
- <a id="browse-menu-link" class="aui-nav-link aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="browse-menu-link-content" title="Browse">
- <span class="browse">Browse</span>
- </a>
- <nav id="browse-menu-link-content" class="aui-dropdown2 aui-style-default" aria-hidden="true">
- <div class="aui-dropdown2-section">
- <strong></strong>
- <ul id="browse-menu-link-leading" class="aui-list-truncate section-leading first">
- <li>
-
-
- <a id="space-pages-link" href="https://confluence.atlassian.com/pages/listpages.action?key=BITBUCKET" class=" " title="Browse pages in the Bitbucket space (Type 'g' then 's')">
- Pages
- </a>
- </li>
- <li>
-
-
- <a id="space-blogposts-link" href="https://confluence.atlassian.com/pages/viewrecentblogposts.action?key=BITBUCKET" class=" " title="Browse blogs in the Bitbucket space">
- Blog
- </a>
- </li>
- <li>
-
-
- <a id="space-labels-link" href="https://confluence.atlassian.com/labels/listlabels-heatmap.action?key=BITBUCKET" class=" " title="Browse labels in the Bitbucket space">
- Labels
- </a>
- </li>
- <li>
-
-
- <a id="space-mail-link" href="https://confluence.atlassian.com/mail/archive/viewmailarchive.action?key=BITBUCKET" class=" " title="Browse mail in the Bitbucket space">
- Mail
- </a>
- </li>
- <li>
-
-
- <a id="space-advanced-link" href="https://confluence.atlassian.com/spaces/viewspacesummary.action?key=BITBUCKET" class=" " title="Browse additional space functions in the Bitbucket space">
- Space Operations
- </a>
- </li>
- </ul>
- </div>
- </nav>
-
- </li>
- <li style="display: none;"><a id="aui-responsive-header-dropdown-trigger-0" class="aui-dropdown2-trigger" aria-owns="aui-responsive-header-dropdown-content-0" aria-haspopup="true" href="#">More<span class="icon aui-icon-dropdown"></span></a><div id="aui-responsive-header-dropdown-content-0" class="aui-dropdown2 aui-style-default"><div class="aui-dropdown2-section"><ul id="aui-responsive-header-dropdown-list-0"></ul></div></div></li></ul>
- </div><div class="aui-header-secondary"><ul class="aui-nav">
- <li>
-
-
-
- <a id="doctheme-anchor" class=" aui-nav-imagelink" title=""><div id="splitter-button" class="" title="Show or hide sidebar (Type '[')"></div></a>
- </li>
- <li>
- <form id="quick-search" class="aui-quicksearch dont-default-focus header-quicksearch" action="/dosearchsite.action" method="get"><fieldset><input name="where" value="BITBUCKET" type="hidden"><input name="spaceSearch" value="true" type="hidden"><label for="quick-search-query" class="assistive">Quick Search</label><input id="quick-search-query" class="text app-search search quick-search-query" accesskey="q" autocomplete="off" name="queryString" title="Quick Search (Type '/'OR 'g' then 'g')" placeholder="Search space" type="text"><input id="quick-search-submit" class="quick-search-submit" value="Search" type="submit"><div class="aui-dd-parent quick-nav-drop-down"></div></fieldset></form>
- </li>
- <li>
-
- <a id="help-menu-link" class="aui-nav-link aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="help-menu-link-content" title="Help">
- <span class="aui-icon aui-icon-small aui-iconfont-help">Help</span>
- </a>
- <nav id="help-menu-link-content" class="aui-dropdown2 aui-style-default" aria-hidden="true">
- <div class="aui-dropdown2-section">
- <strong></strong>
- <ul id="help-menu-link-leading" class="aui-list-truncate section-leading first">
- <li>
-
-
- <a id="confluence-help-link" href="https://docs.atlassian.com/confluence/docs-56/Getting+Help+And+Support" class="interactive" title="Visit the Confluence documentation home" target="_blank">
- Online Help
- </a>
- </li>
- <li>
-
-
- <a id="keyboard-shortcuts-link" href="#" class="interactive" title="View available keyboard shortcuts (Type '?')">
- Keyboard Shortcuts
- </a>
- </li>
- <li>
-
-
- <a id="feed-builder-link" href="https://confluence.atlassian.com/dashboard/configurerssfeed.action" class="interactive" title="Create your custom RSS feed.">
- Feed Builder
- </a>
- </li>
- <li>
-
-
- <a id="whats-new-menu-link" href="https://docs.atlassian.com/confluence/docs-56/whatsnew/iframe" class="interactive" title="">
- What’s new
- </a>
- </li>
- <li>
-
-
- <a id="gadget-directory-link" href="#" class="user-item administration-link interactive" title="Browse gadgets provided by Confluence">
- Available Gadgets
- </a>
- </li>
- <li>
-
-
- <a href="https://confluence.atlassian.com/spaces/com.k15t.scroll.platform/spaceadmin.action?key=VSN1#/about" class="sv-getstarted interactive" title="">
- About Scroll Versions
- </a>
- </li>
- <li>
-
-
- <a id="confluence-about-link" href="https://confluence.atlassian.com/aboutconfluencepage.action" class="interactive" title="Get more information about Confluence">
- About Confluence
- </a>
- </li>
- </ul>
- </div>
- </nav>
-
- </li>
- <li>
-
-
- </li>
- <li>
-
- </li>
- <li>
- </li><li>
-
-
- <a id="login-link" href="https://confluence.atlassian.com/login.action?os_destination=%2Fdisplay%2FBITBUCKET%2FOAuth%2Bon%2BBitbucket" class=" user-item login-link " title="">
- Log in
- </a>
- </li>
- <li>
-
-
- <a id="signup-link" href="https://confluence.atlassian.com/signup.action" class=" user-item signup-link " title="">
- Sign up
- </a>
- </li>
-
-
- </ul>
- </div></div><!-- .aui-header-inner--></nav><!-- .aui-header -->
- <br class="clear">
- </header>
- <div style="position: relative; height: 549px;" id="splitter">
- <div style="position: absolute; left: 0px; width: 300px; height: 549px;" id="splitter-sidebar" class="padding-div">
-
- <p><a href="https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+Documentation+Home" title="Bitbucket Documentation Home">Bitbucket Documentation</a></p>
- <div class="plugin_pagetree">
-
-
- <ul class="plugin_pagetree_children_list plugin_pagetree_children_list_noleftspace">
- <div id="children221448814-0" class="plugin_pagetree_children">
- <ul class="plugin_pagetree_children_list" id="child_ul221448814-0">
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus675385635-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan675385635-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Getting+started+with+Bitbucket">Getting started with Bitbucket</a>
- </span>
- </div>
- <div id="children675385635-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus221448818-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan221448818-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+101">Bitbucket 101</a>
- </span>
- </div>
- <div id="children221448818-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus533168212-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan533168212-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+201+Bitbucket+with+Git+and+Mercurial">Bitbucket 201 Bitbucket with Git and Mercurial</a>
- </span>
- </div>
- <div id="children533168212-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus321853005-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan321853005-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+Teams">Bitbucket Teams</a>
- </span>
- </div>
- <div id="children321853005-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus224395568-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan224395568-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Plans+and+billing">Plans and billing</a>
- </span>
- </div>
- <div id="children224395568-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus221449735-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan221449735-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Manage+an+individual+account+or+a+team">Manage an individual account or a team</a>
- </span>
- </div>
- <div id="children221449735-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus675385631-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan675385631-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Use+and+administer+repositories">Use and administer repositories</a>
- </span>
- </div>
- <div id="children675385631-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus675189068-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan675189068-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Integrations%2C+add-ons%2C+and+hooks">Integrations, add-ons, and hooks</a>
- </span>
- </div>
- <div id="children675189068-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus221449750-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan221449750-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Use+the+issue+tracker">Use the issue tracker</a>
- </span>
- </div>
- <div id="children221449750-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus221449748-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan221449748-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Use+a+wiki">Use a wiki</a>
- </span>
- </div>
- <div id="children221449748-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus222724129-0" class="plugin_pagetree_childtoggle icon icon-section-opened" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan222724129-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Use+the+Bitbucket+REST+APIs">Use the Bitbucket REST APIs</a>
- </span>
- </div>
- <div id="children222724129-0" class="plugin_pagetree_children_container">
- <ul class="plugin_pagetree_children_list" id="child_ul222724129-0">
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <span class="no-children icon"></span>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan668173227-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Rate+limits">Rate limits</a>
- </span>
- </div>
- <div id="children668173227-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus238027431-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span plugin_pagetree_current" id="childrenspan238027431-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket">OAuth on Bitbucket</a>
- </span>
- </div>
- <div id="children238027431-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus423626329-0" class="plugin_pagetree_childtoggle icon icon-section-opened" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan423626329-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Version+2">Version 2</a>
- </span>
- </div>
- <div id="children423626329-0" class="plugin_pagetree_children_container">
- <ul class="plugin_pagetree_children_list" id="child_ul423626329-0">
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus423626330-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan423626330-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/repositories+Endpoint">repositories Endpoint</a>
- </span>
- </div>
- <div id="children423626330-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <span class="no-children icon"></span>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan423626335-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/teams+Endpoint">teams Endpoint</a>
- </span>
- </div>
- <div id="children423626335-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <span class="no-children icon"></span>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan423626336-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/users+Endpoint">users Endpoint</a>
- </span>
- </div>
- <div id="children423626336-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- </ul>
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus423626337-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan423626337-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Version+1">Version 1</a>
- </span>
- </div>
- <div id="children423626337-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- </ul>
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus221449764-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan221449764-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Frequently+Asked+Questions">Frequently Asked Questions</a>
- </span>
- </div>
- <div id="children221449764-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- <li>
- <div class="plugin_pagetree_childtoggle_container">
- <a id="plusminus223216026-0" class="plugin_pagetree_childtoggle icon icon-section-closed" href="#">
- </a>
- </div>
- <div class="plugin_pagetree_children_content">
-
-
- <span class="plugin_pagetree_children_span" id="childrenspan223216026-0"> <a href="https://confluence.atlassian.com/display/BITBUCKET/Support+and+other+resources">Support and other resources</a>
- </span>
- </div>
- <div id="children223216026-0" class="plugin_pagetree_children_container">
- </div>
- </li>
- </ul>
- </div>
- </ul>
- <fieldset class="hidden">
- <input name="treeId" value="" type="hidden">
- <input name="treeRequestId" value="/plugins/pagetree/naturalchildren.action?decorator=none&excerpt=false&sort=position&reverse=false&disableLinks=false&expandCurrent=false" type="hidden">
- <input name="treePageId" value="238027431" type="hidden">
- <input name="noRoot" value="false" type="hidden">
- <input name="rootPageId" value="221448814" type="hidden">
- <input name="rootPage" value="" type="hidden">
- <input name="startDepth" value="0" type="hidden">
- <input name="spaceKey" value="BITBUCKET" type="hidden">
- <input name="i18n-pagetree.loading" value="Loading..." type="hidden">
- <input name="i18n-pagetree.error.permission" value="Unable to load page tree. It seems that you do not have permission to view the root page." type="hidden">
- <input name="i18n-pagetree.eeror.general" value="There was a problem retrieving the page tree. Please check the server log file for more information." type="hidden">
- <input name="loginUrl" value="/login.action?os_destination=%2Fpages%2Fviewpage.action%3Ftitle%3DOAuth%2Bon%2BBitbucket%26spaceKey%3DBITBUCKET" type="hidden">
- <input name="mobile" value="false" type="hidden">
- <fieldset class="hidden">
- <input name="ancestorId" value="222724129" type="hidden">
- <input name="ancestorId" value="221448814" type="hidden">
- </fieldset>
- </fieldset>
- </div>
- <p><a href="http://confluence.atlassian.com/labels/listlabels-alphaview.action?key=BITBUCKET" class="external-link" rel="nofollow">Index</a><br>
- <a href="https://confluence.atlassian.com/display/BBKB/Bitbucket+Knowledge+Base+Home" class="external-link" rel="nofollow">Knowledge Base</a>
- <br class="atl-forced-newline"> <br class="atl-forced-newline">
- <a href="http://ace.atlassian.com/d/?n=a95ec606" class="external-link" rel="nofollow"><span class="image-wrap" style=""><img src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/a.gif" style="border: 0px solid black"></span></a></p>
-
- </div><div unselectable="on" class="vsplitbar" style="z-index: 4; position: absolute; -moz-user-select: none; cursor: ew-resize; left: 300px; height: 549px;"><a title="vsplitbar" tabindex="0" accesskey="L" href="javascript:void(0)"></a></div>
- <div style="position: absolute; left: 306px; width: 1060px; height: 549px;" id="splitter-content">
- <script type="text/javascript" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/doc-theme.js"></script>
-
-
-
- <div id="main" class="aui-page-panel">
- <div id="main-header">
-
-
- <div id="navigation" class="content-navigation view">
- <ul class="ajs-menu-bar">
-
-
- <li class="normal ajs-menu-item">
- <a id="action-menu-link" class="action ajs-menu-title aui-dropdown2-trigger" href="#" aria-haspopup="true" aria-owns="action-menu" data-container="#navigation"><span><span>Tools</span></span></a> <div id="action-menu" class="aui-dropdown2 aui-style-default most-right-menu-item">
- <ul id="action-menu-primary" class="section-primary first aui-dropdown2-section">
- <li>
-
-
-
-
-
- <a id="view-attachments-link" href="https://confluence.atlassian.com/pages/viewpageattachments.action?pageId=238027431" rel="nofollow" class="action-view-attachments" accesskey="t" title="View Attachments (Type 't')">
- <span>A<u>t</u>tachments (1)</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="action-view-history-link" href="https://confluence.atlassian.com/pages/viewpreviousversions.action?pageId=238027431" rel="nofollow" class="action-view-history" title="">
- <span>Page History</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="action-page-permissions-link" href="https://confluence.atlassian.com/pages/viewinfo.action?pageId=238027431" rel="nofollow" class="action-page-permissions" title="Edit restrictions">
- <span>Restrictions</span> </a>
- </li>
- </ul>
- <ul id="action-menu-secondary" class="section-secondary aui-dropdown2-section">
- <li>
-
-
-
-
-
- <a id="view-page-info-link" href="https://confluence.atlassian.com/pages/viewinfo.action?pageId=238027431" rel="nofollow" class="action-view-info" title="">
- <span>Page Information</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="link-to-page-link" href="https://confluence.atlassian.com/pages/viewinfo.action?pageId=238027431" rel="nofollow" class="" title="Link to this Page (Type 'k')">
- <span>Link to this Page…</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="view-in-hierarchy-link" href="https://confluence.atlassian.com/pages/listpages-dirview.action?key=BITBUCKET&openId=238027431#selectedPageInHierarchy" rel="nofollow" class="" title="">
- <span>View in Hierarchy</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="action-view-source-link" href="https://confluence.atlassian.com/plugins/viewsource/viewpagesrc.action?pageId=238027431" rel="nofollow" class="action-view-source popup-link" title="">
- <span>View Source</span> </a>
- </li>
- <li>
-
-
-
-
-
- <a id="action-export-word-link" href="https://confluence.atlassian.com/exportword?pageId=238027431" rel="nofollow" class="action-export-word" title="">
- <span>Export to Word</span> </a>
- </li>
- </ul>
- </div>
- </li>
- </ul>
- </div>
-
- <div id="title-heading" class="pagetitle with-breadcrumbs">
-
- <div class="space-logo " data-key="BITBUCKET" data-name="Bitbucket" data-entity-type="confluence.space">
- <a><img class="logo space custom" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/BITBUCKET.png" alt=""></a>
- </div>
- <div id="breadcrumb-section">
-
-
-
- <ol id="breadcrumbs">
-
-
- <li class="first">
-
- <span class=""><a href="https://confluence.atlassian.com/display/BITBUCKET?src=breadcrumbs-homepage">Bitbucket</a></span>
-
-
- </li><li>
-
- <span class=""><a href="https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+Documentation+Home?src=breadcrumbs">Bitbucket Documentation Home</a></span>
-
-
- </li><li>
-
- <span class=""><a href="https://confluence.atlassian.com/display/BITBUCKET/Use+the+Bitbucket+REST+APIs?src=breadcrumbs-parent">Use the Bitbucket REST APIs</a></span>
- </li></ol>
- </div>
-
- <h1 id="title-text" class="with-breadcrumbs">
- <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket">OAuth on Bitbucket</a>
- </h1>
- </div>
- </div>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <div id="content" class="page view">
-
- <div id="action-messages">
- </div>
- <script type="text/x-template" title="searchResultsGrid">
- <table class="aui">
- <thead>
- <tr class="header">
- <th class="search-result-title">Page Title</th>
- <th class="search-result-space">Space</th>
- <th class="search-result-date">Updated</th>
- </tr>
- </thead>
- </table>
- </script>
- <script type="text/x-template" title="searchResultsGridCount">
- <p class="search-result-count">{0}</p>
- </script>
- <script type="text/x-template" title="searchResultsGridRow">
- <tr class="search-result">
- <td class="search-result-title"><a href="{1}" class="content-type-{2}"><span>{0}</span></a></td>
- <td class="search-result-space"><a class="space" href="/display/{4}/" title="{3}">{3}</a></td>
- <td class="search-result-date"><span class="date" title="{6}">{5}</span></td>
- </tr>
- </script>
-
-
-
- <fieldset class="hidden parameters">
- <input title="parentPageId" value="222724129" type="hidden">
- </fieldset>
-
-
-
-
- <a href="#page-metadata-end" class="assistive">Skip to end of metadata</a>
- <div id="page-metadata-start" class="assistive"></div>
- <div class="page-metadata">
- <ul>
- <li class="page-metadata-item noprint">
-
-
-
-
-
- <a id="content-metadata-page-restrictions" href="#" rel="nofollow" class="hidden" title="Page restrictions apply">
- <img alt="" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/red_padlock.html" title="" height="16" width="16">
- <span></span> </a>
- </li>
- <li class="page-metadata-item noprint">
-
-
-
-
-
- <a original-title="1 attachment" id="content-metadata-attachments" href="https://confluence.atlassian.com/pages/viewpageattachments.action?pageId=238027431&metadataLink=true" rel="nofollow" class="" accesskey="t">
- <img alt="" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/grey_attach.html" title="" height="16" width="16">
- <span></span> </a>
- </li>
- <li class="page-metadata-modification-info">
-
-
-
-
-
-
-
- Created by <span class="author"> <a href="https://confluence.atlassian.com/display/%7Edchambers" class="url fn">David Chambers [Atlassian]</a></span>, last modified by <span class="editor"> <a href="https://confluence.atlassian.com/display/%7Edstevens" class="url fn">Dan Stevens [Atlassian]</a></span> on <a class="last-modified" title="Mar 12, 2014 18:28" href="https://confluence.atlassian.com/pages/diffpagesbyversion.action?pageId=238027431&selectedPageVersions=42&selectedPageVersions=43">Mar 12, 2014</a>
- </li>
- </ul>
- </div>
- <a href="#page-metadata-start" class="assistive">Go to start of metadata</a>
- <div id="page-metadata-end" class="assistive"></div>
-
- <fieldset class="hidden parameters">
- <input title="browsePageTreeMode" value="view" type="hidden">
- </fieldset>
- <div class="wiki-content">
-
- <p>You can develop an application that uses Bitbucket
- service through its REST API. For example, you can write a web
- application that access Bitbucket issue resources.</p><p>Bitbucket
- authenticates your application and authorizes access using
- the OAuth 1.0a with HMAC-SHA1 (shared secret) signatures.
- We support both 3-Legged<strong> </strong>and 2-Legged OAuth. RSA-SHA1 (the public/private keys feature) is <em><strong>not</strong></em> currently supported. </p><p>Finally,
- you should use an existing OAuth library for your application instead
- of implementing the protocol yourself. Numerous reusable libraries
- in many languages exist for use with OAuth – they are listed on
- the <span style="color: rgb(0,109,175);"><a href="http://oauth.net/code/" class="external-link" rel="nofollow">official oauth.net </a>site</span>. </p><h2 id="OAuthonBitbucket-WalkthroughtheOAuth1.0aworkflow">Walk through the OAuth 1.0a work flow</h2><p>This
- section steps you through the basic OAuth 1.0a work flow of
- registering your consumer and getting set up to make API calls. It
- is difficult to test this work flow with <code>curl</code>. If you don't want to write a quick client, you can try it for yourself interactively <a href="http://term.ie/oauth/example/client.php" class="external-link" rel="nofollow">using a testing site</a>. The site will create the more complex, calculated values OAuth needs (such as timestamps) for you.</p><p><style type="text/css">/*<![CDATA[*/
- div.rbtoc1420384952610 {padding: 0px;}
- div.rbtoc1420384952610 ul {list-style: disc;margin-left: 0px;}
- div.rbtoc1420384952610 li {margin-left: 0px;padding-left: 0px;}
- /*]]>*/</style></p><div class="toc-macro rbtoc1420384952610">
- <ul class="toc-indentation">
- <li><a href="#OAuthonBitbucket-Step1.CreateanOAuthkeyandsecret">Step 1. Create an OAuth key and secret</a></li>
- <li><a href="#OAuthonBitbucket-Step2.RequestarequesttokenfromBitbucket">Step 2. Request a request token from Bitbucket</a></li>
- <li><a href="#OAuthonBitbucket-Step3.RedirecttheusertoBitbuckettoauthorizeyourapplication">Step 3. Redirect the user to Bitbucket to authorize your application</a></li>
- <li><a href="#OAuthonBitbucket-Step4.RequestanAccessToken">Step 4. Request an Access Token</a></li>
- </ul>
- </div><p></p><h3 id="OAuthonBitbucket-Step1.CreateanOAuthkeyandsecret">Step 1. Create an OAuth key and secret</h3><p>OAuth
- needs a key and secret together these are know as an OAuth consumer.
- You can create a consumer on any existing individual or team
- account. To create a consumer, do the following:</p><p></p><ol><li>Log into your Bitbucket account.</li><li>Click <strong>accountname > Manage account</strong> from the menu.<br>The<strong> Account</strong> page appears.</li><li>Click <strong>OAuth</strong> from the menu bar.</li><li><p>Click the <strong>Add consumer</strong> button. <br>The system requests the following information:</p><div class="table-wrap"><table class="confluenceTable tablesorter"><thead><tr class="sortableHeader"><th data-column="0" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Field</div></th><th data-column="1" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Description</div></th></tr></thead><tbody><tr><td class="confluenceTd"><strong>Name</strong></td><td class="confluenceTd">The display name for your consumer. This must be unique within your account. This is required.</td></tr><tr><td class="confluenceTd"><strong>Description</strong></td><td class="confluenceTd">An optional description of what your consumer does.</td></tr><tr><td class="confluenceTd"><strong>URL</strong></td><td class="confluenceTd">An optional URL where the curious can go to learn more about your cool application.</td></tr></tbody></table></div></li><li>Press <strong>Add consumer</strong>. <br>The system generates a key and a secret for you.</li><li>Toggle the consumer name to see the generated <strong>Key</strong> and <strong>Secret</strong> value for your consumer.</li></ol><p></p><p> Optionally, you could also obtain a consumer using the <a href="https://confluence.atlassian.com/display/BITBUCKET/oauth+Resource">oauth Resource</a> on the <a href="https://confluence.atlassian.com/display/BITBUCKET/users+Endpoint+-+1.0">users Endpoint - 1.0</a>.</p><h3 id="OAuthonBitbucket-Step2.RequestarequesttokenfromBitbucket">Step 2. Request a request token from Bitbucket</h3><p>Your
- application first needs to get an OAuth request token from Bitbucket.
- It does this trough a POST request to <code><a href="https://bitbucket.org/api/1.0/oauth/request_token" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/oauth/request_token</a></code>. Your POST must include:</p><p></p><div class="table-wrap"><table class="confluenceTable tablesorter"><thead><tr class="sortableHeader"><th data-column="0" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Parameter</div></th><th data-column="1" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Required</div></th><th data-column="2" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Description</div></th></tr></thead><tbody><tr><td class="confluenceTd"><code>oauth_consumer_key</code></td><td class="confluenceTd">Yes</td><td class="confluenceTd">The consumer key. This value is generated by Bitbucket.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_nonce</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd"><p>A
- random string, uniquely generated for each request. The nonce allows
- the Service Provider to verify that a request has never been made before
- and helps prevent replay attacks when requests are made over a
- non-secure channel (such as HTTP).</p></td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_signature</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The signature as defined by the consumer. <span style="color: rgb(0,0,0);">OAuth
- does not mandate a particular signature method, as each implementation
- can have its own unique requirements. Currently, Bitbucket only supports
- </span>HMAC-SHA1 or PLAINTEXT signatures<span style="color: rgb(0,0,0);">.</span></td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_signature_method</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The signature method the consumer used to sign the request. This is determined by your application.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_timestamp</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The
- number of seconds since January 1, 1970 00:00:00 GMT. The timestamp
- value MUST be a positive integer and MUST be equal or greater than the
- timestamp used in previous requests. If the timestamp is not within a
- few minutes either side of the actual current time, the request may be
- rejected.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_callback</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd"><p>The URL to redirect a user to should they approve your application's access to their account. For example:</p><p>http%3A%2F%coolapp.local%2Fauth.php<span style="color: rgb(85,85,85);">,b</span>itbucketclient%3A%2F%2Fcallback</p></td></tr></tbody></table></div><p></p><p> The following is an example of a POST call:</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>https://bitbucket.org/api/1.0/oauth/request_token?oauth_version=1.0&oauth_nonce=7f2325b3c36bd49afa0a33044d7c6930&oauth_timestamp=1366243208&oauth_consumer_key=HUpRcDUduZrepL6sYJ&oauth_callback=http%3A%2F%2Flocal%3Fdump&oauth_signature_method=HMAC-SHA1&oauth_signature=qZyTwVA48RzmtCHvN9mYWmlmSVU%3D</pre>
- </div></div><p>Bitbucket validates your request and responds with a set of temporary credentials:</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>HTTP/1.1 200 OK
- Server: nginx/1.2.4
- Date: Thu, 18 Apr 2013 15:56:00 GMT
- Content-Type: application/x-www-form-urlencoded
- Content-Length: 112
- Connection: keep-alive
- X-Served-By: bitbucket05
- Content-Language: en
- X-Static-Version: 209da49a2dfa
- Vary: Accept-Language, Cookie
- X-Version: 913e0af5d84d
- ETag: "cd2fb61a6e2ac48da4b1c3b377aca5d7"
- X-Request-Count: 260
- Strict-Transport-Security: max-age=2592000
- X-Content-Type-Options: nosniff
- oauth_token_secret=3PddbU47vqStvrFag8Dwnpqs28HxAKeq&oauth_token=4vyW6b49ZxcZDK64eY&oauth_callback_confirmed=true</pre>
- </div></div><p>These credentials are the following:</p><div class="table-wrap"><table class="confluenceTable tablesorter"><thead><tr class="sortableHeader"><th data-column="0" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Value</div></th><th data-column="1" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Description</div></th></tr></thead><tbody><tr><td class="confluenceTd"><pre>oauth_token_secret</pre></td><td class="confluenceTd"><p class="newpage">The token shared-secret.</p></td></tr><tr><td class="confluenceTd"><pre>oauth_token</pre></td><td class="confluenceTd"><p class="newpage">The request token.</p></td></tr><tr><td class="confluenceTd"><pre>oauth_callback_confirmed</pre></td><td class="confluenceTd">Must be present and true.</td></tr></tbody></table></div><h3 id="OAuthonBitbucket-Step3.RedirecttheusertoBitbuckettoauthorizeyourapplication">Step 3. Redirect the user to Bitbucket to authorize your application</h3><p class="newpage">Access
- tokens allow your application to interact with Bitbucket on behalf of
- user. Before your application can get access tokens, the Bitbucket user
- must authorize your application to act on his/her behalf. To get
- authorization, your webserver makes a GET to <code><a href="https://bitbucket.org/api/1.0/oauth/authenticate" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/oauth/authenticate</a></code> and passes the <code>oauth_token</code> (request token) returned in the last step's POST. <span>For example, the following call:</span></p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>https://bitbucket.org/api/1.0/oauth/authenticate?oauth_token=4vyW6b49ZxcZDK64eY</pre>
- </div></div><p class="newpage"><span>If the user isn't logged into
- Bitbucket, Bitbucket asks the user to login. In this way, your
- application verifies the identity of the account holder. Then, Bitbucket
- confirms with the user that your application should have account
- access:</span></p><p class="newpage"><span><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/myconsumer.png" data-image-src="/download/attachments/304578655/myconsumer.png?version=3&modificationDate=1400595237119&api=v2"><br></span></p><p class="newpage"><span>Bitbucket
- then redirects the user to the callback provided in the previous Step 2
- above. Bitbucket returns in the redirect an <code>oauth_verifier</code> along with the <code>oauth_token</code> your application provided in its request.</span></p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>http://localhost/?dump&oauth_verifier=2287965216&oauth_token=URjPjc8CxLgNBdh7zL</pre>
- </div></div><p class="newpage">Your application should store the <code>oauth_verifier</code> so you can use it in the next step. Bitbucket requires use of the <code>oauth_verifier</code> which is an OAuth 1.0a feature.</p><h3 id="OAuthonBitbucket-Step4.RequestanAccessToken">Step 4. Request an Access Token</h3><p class="newpage">The
- last step is to obtain credentials that let you access resources on
- Bitbucket. Your application gets these by making a POST call
- to <code><a href="https://bitbucket.org/api/1.0/oauth/access_token" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/oauth/access_token</a></code>. Your application must construct a request URI by adding the following parameters:</p><p class="newpage"></p><div class="table-wrap"><table class="confluenceTable tablesorter"><thead><tr class="sortableHeader"><th data-column="0" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Parameter</div></th><th data-column="1" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Required</div></th><th data-column="2" class="confluenceTh sortableHeader"><div class="tablesorter-header-inner">Description</div></th></tr></thead><tbody><tr><td class="confluenceTd"><code>oauth_consumer_key</code></td><td class="confluenceTd">Yes</td><td class="confluenceTd">The consumer key. This value is generated by Bitbucket.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_token</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The <code>oauth_token</code> returned by the <code>request_token</code> call.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_nonce</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd"><p>A
- random string, uniquely generated for each request. The nonce allows
- the Service Provider to verify that a request has never been made before
- and helps prevent replay attacks when requests are made over a
- non-secure channel (such as HTTP).</p></td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_signature</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The signature as defined by the consumer. <span style="color: rgb(0,0,0);">OAuth
- does not mandate a particular signature method, as each implementation
- can have its own unique requirements. Currently, Bitbucket only supports
- </span>HMAC-SHA1<span style="color: rgb(0,0,0);"> signatures.</span></td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_signature_method</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The signature method the consumer used to sign the request. HMAC-SHA1 is the method supported by Bitbucket.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_timestamp</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd">The
- number of seconds since January 1, 1970 00:00:00 GMT. The timestamp
- value MUST be a positive integer and MUST be equal or greater than the
- timestamp used in previous requests. If the timestamp is not within a
- five minutes either side of the actual current time, the request may be
- rejected.</td></tr><tr><td colspan="1" class="confluenceTd"><code>oauth_verifier</code></td><td colspan="1" class="confluenceTd">Yes</td><td colspan="1" class="confluenceTd"><p><span style="color: rgb(0,0,0);">This
- value is returned as a query parameter in the URL that the token
- authorization page redirects to after the user clicked "grant
- permission" on Bitbucket. For example:</span></p><pre>http://localhost?oauth_verifier=0352671347&oauth_token=QAx6g4npas3tdARQUY</pre></td></tr></tbody></table></div><p></p><p class="newpage">An example of this request is:</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>https://bitbucket.org/api/1.0/oauth/access_token?oauth_version=1.0&oauth_nonce=d6d773f282740f2b25112f819b0d3b7c&oauth_timestamp=1366242978&oauth_consumer_key=HUpRcDUduZrepL6sYJ&oauth_verifier=2287965216&oauth_token=YRpuxpCLYCJpXJyUE2&oauth_signature_method=HMAC-SHA1&oauth_signature=vmJ3LuudxaW5Rs7xLJa56TLZwPE%3D</pre>
- </div></div><p>The request returns an access token such as the following:</p><div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
- <pre>oauth_token_secret=aH9bzCKjKT5uXWueeENr9LKNh2jyyUVj&oauth_token=NqFQPmgsa4QQ9StW2R</pre>
- </div></div><p>With this access token your application can make Bitbucket API calls.</p>
-
-
-
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/238027431"/>
- </rdf:RDF>
- -->
-
-
- <div id="likes-and-labels-container"><div id="likes-section"><span class="like-summary"><a href="" class="likes" data-content-id="238027431">2 people</a> like this</span></div><div id="labels-section" class="pageSection group">
- <div class="labels-section-content content-column" entityid="238027431" entitytype="page">
- <div class="labels-content">
-
- <ul class="label-list label-list-right ">
-
- <li class="aui-label " data-label-id="193626114">
- <a class="aui-label-split-main" href="https://confluence.atlassian.com/label/BITBUCKET/oauth">oauth</a>
- </li><li class="aui-label " data-label-id="1786">
- <a class="aui-label-split-main" href="https://confluence.atlassian.com/label/BITBUCKET/permissions">permissions</a>
- </li><li class="aui-label " data-label-id="221675569">
- <a class="aui-label-split-main" href="https://confluence.atlassian.com/label/BITBUCKET/bitbucket">bitbucket</a>
- </li><li class="aui-label " data-label-id="2240">
- <a class="aui-label-split-main" href="https://confluence.atlassian.com/label/BITBUCKET/overview">overview</a>
- </li> </ul>
- </div>
- </div></div></div>
- <div id="children-section" class="pageSection children-showing group">
-
- <div class="section-header ">
- <h2 id="children-section-title" class="section-title">
- <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?showChildren=false#children" class="children-show-hide">
- 4 Child Pages
- </a>
- </h2>
- <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?showChildren=false#children" class="children-show-hide icon"></a>
- <!--
- <span class="noprint grey">
- <a class="children-subtitle" href="/pages/listpages-dirview.action?key=BITBUCKET&openId=238027431#selectedPageInHierarchy">Reorder Pages</a>
- </span>
- -->
- </div>
- <div id="page-children" class="pageSectionBody children-loaded">
- <span class="child-display">
- <span class="icon icon-page" title="Page">Page:</span> <a href="https://confluence.atlassian.com/display/BITBUCKET/oauth+Endpoint">oauth Endpoint</a>
- </span>
- <span class="child-display">
- <span class="icon icon-page" title="Page">Page:</span> <a href="https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+OAuth+Requests">Troubleshooting OAuth Requests</a>
- </span>
- <span class="child-display">
- <span class="icon icon-page" title="Page">Page:</span> <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+FAQ">OAuth FAQ</a>
- </span>
- <span class="child-display">
- <span class="icon icon-page" title="Page">Page:</span> <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+consumer+examples">OAuth consumer examples</a>
- </span>
- </div>
- </div>
-
-
-
-
-
-
- <div id="comments-section" class="pageSection group">
- <div class="section-header">
- <h2 id="comments-section-title" class="section-title">
- 39 Comments
- </h2>
- </div>
-
-
-
- <ol class="comment-threads top-level" id="page-comments">
- <li id="comment-thread-288658352" class="comment-thread">
- <div class="comment " id="comment-288658352">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Just to say, i did use Zend Library to work
- with oauth and it is the best way to get the job done. Tried many
- libraries but the best use it was Zend OAuth. </p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=288658352#comment-288658352" id="comment-permalink-288658352"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 30, 2012 12:55" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=288658352#comment-288658352"><span>May 30, 2012</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=288658352#comment-288658352"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=288658352#comment-288658352"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/288658352"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-317950759" class="comment-thread">
- <div class="comment odd" id="comment-317950759">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>AIn't this cool? Bitbucket is awsome</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=317950759#comment-317950759" id="comment-permalink-317950759"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jan 20, 2013 05:15" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=317950759#comment-317950759"><span>Jan 20, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=317950759#comment-317950759"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=317950759#comment-317950759"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/317950759"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-323390078" class="comment-thread">
- <div class="comment " id="comment-323390078">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: contact5" title="contact5"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Econtact5" class="url fn">Daniel Knell</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>can I use the oauth credentials to download a tarball of a repository?</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390078#comment-323390078" id="comment-permalink-323390078"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Feb 22, 2013 17:40" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390078#comment-323390078"><span>Feb 22, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390078#comment-323390078"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390078#comment-323390078"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/323390078"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-323390152" class="comment-thread">
- <div class="comment odd" id="comment-323390152">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Hi Daniel,</p><p>We don't have the option to download the tarball. You can <a href="https://bitbucket.org/site/master/issues" class="external-link" rel="nofollow">file an enhancement request</a> for that feature.</p><p>Cheers,</p><p>Mary</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390152#comment-323390152" id="comment-permalink-323390152"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Feb 22, 2013 19:20" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390152#comment-323390152"><span>Feb 22, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390152#comment-323390152"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=323390152#comment-323390152"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/323390152"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-400000004" class="comment-thread">
- <div class="comment " id="comment-400000004">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Oh, really...</p><p>I hope you will enhance this oauth access in the future.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=400000004#comment-400000004" id="comment-permalink-400000004"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Sep 09, 2013 01:39" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=400000004#comment-400000004"><span>Sep 09, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=400000004#comment-400000004"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=400000004#comment-400000004"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/400000004"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- </ol>
- </li>
- <li id="comment-thread-337772788" class="comment-thread">
- <div class="comment odd" id="comment-337772788">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: kamranm1200" title="kamranm1200"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ekamranm1200" class="url fn">Kamran Mackey</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Does your API work with Zapier?</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=337772788#comment-337772788" id="comment-permalink-337772788"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Apr 11, 2013 01:23" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=337772788#comment-337772788"><span>Apr 11, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=337772788#comment-337772788"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=337772788#comment-337772788"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/337772788"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-338363902" class="comment-thread">
- <div class="comment " id="comment-338363902">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Kamran,</p><p>I've used Zapier but not with
- the BB APIs. There is no reason they shouldn't work. You
- should give it a try – it is a good idea. Let me know how it
- goes...</p><p>Mary</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=338363902#comment-338363902" id="comment-permalink-338363902"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Apr 12, 2013 16:31" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=338363902#comment-338363902"><span>Apr 12, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=338363902#comment-338363902"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=338363902#comment-338363902"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/338363902"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-347341365" class="comment-thread">
- <div class="comment odd" id="comment-347341365">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>My god some actual <strong>Sample Code</strong> would be nice for these API docs. In various languages!</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=347341365#comment-347341365" id="comment-permalink-347341365"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 03, 2013 00:39" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=347341365#comment-347341365"><span>May 03, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=347341365#comment-347341365"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=347341365#comment-347341365"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/347341365"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-349634732" class="comment-thread">
- <div class="comment " id="comment-349634732">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>We have this page: <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+consumer+examples">OAuth Consumer Examples</a> with a single sample but we have plans to add more. Let me know if that doesn't work for you.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634732#comment-349634732" id="comment-permalink-349634732"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 06, 2013 15:15" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634732#comment-349634732"><span>May 06, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634732#comment-349634732"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634732#comment-349634732"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/349634732"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-349634733" class="comment-thread">
- <div class="comment odd" id="comment-349634733">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: gabipetrovay" title="gabipetrovay"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Egabipetrovay" class="url fn">Gabriel Petrovay</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Are there any plans to add OAuth2 ?</p><p>I've created an issue for this: <a href="https://bitbucket.org/site/master/issue/7280/are-there-any-plans-to-adding-switching-to" class="external-link" rel="nofollow">https://bitbucket.org/site/master/issue/7280/are-there-any-plans-to-adding-switching-to</a></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634733#comment-349634733" id="comment-permalink-349634733"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 06, 2013 15:14" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634733#comment-349634733"><span>May 06, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634733#comment-349634733"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=349634733#comment-349634733"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/349634733"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-352256263" class="comment-thread">
- <div class="comment " id="comment-352256263">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>No that I know of; filing a ticket was the right way to go.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256263#comment-352256263" id="comment-permalink-352256263"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 10, 2013 19:28" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256263#comment-352256263"><span>May 10, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256263#comment-352256263"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256263#comment-352256263"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/352256263"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-352256321" class="comment-thread">
- <div class="comment odd" id="comment-352256321">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: gabipetrovay" title="gabipetrovay"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Egabipetrovay" class="url fn">Gabriel Petrovay</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p><a class="external-link" href="https://bitbucket.org/evzijst" style="text-decoration: underline;" rel="nofollow">Erik van Zijst</a> said inside the issue above to open an issue "<span>so others can find it and vote for it.</span>" What did he mean?</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256321#comment-352256321" id="comment-permalink-352256321"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 10, 2013 20:45" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256321#comment-352256321"><span>May 10, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256321#comment-352256321"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256321#comment-352256321"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/352256321"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-352256325" class="comment-thread">
- <div class="comment " id="comment-352256325">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>When you create an issue, other people can
- watch it. A user watching an issue is our equivalent to voting
- something up. Users can search our issues database and find issues
- related to their questions/suggestions.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256325#comment-352256325" id="comment-permalink-352256325"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 10, 2013 20:52" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256325#comment-352256325"><span>May 10, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256325#comment-352256325"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256325#comment-352256325"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/352256325"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- </ol>
- </li>
- </ol>
- </li>
- <li id="comment-thread-351110009" class="comment-thread">
- <div class="comment odd" id="comment-351110009">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: gabipetrovay" title="gabipetrovay"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Egabipetrovay" class="url fn">Gabriel Petrovay</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Typo:</p><p><span style="font-size: 16.0px;line-height: 1.5625;">Step 2. Request a<span style="color: rgb(255,0,0);"><s><strong>n</strong></s></span> request token from Bitbucket</span></p><p><span style="font-size: 16.0px;line-height: 1.5625;">(2 times: both on the summary and in the text)</span></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110009#comment-351110009" id="comment-permalink-351110009"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 09, 2013 10:11" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110009#comment-351110009"><span>May 09, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110009#comment-351110009"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110009#comment-351110009"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/351110009"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-352256327" class="comment-thread">
- <div class="comment " id="comment-352256327">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Fixed. Thanks for the catch.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256327#comment-352256327" id="comment-permalink-352256327"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 10, 2013 20:53" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256327#comment-352256327"><span>May 10, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256327#comment-352256327"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256327#comment-352256327"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/352256327"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-351110020" class="comment-thread">
- <div class="comment odd" id="comment-351110020">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: gabipetrovay" title="gabipetrovay"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Egabipetrovay" class="url fn">Gabriel Petrovay</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Can you please provide an example the the end of this article showing how to use the obtained access token.</p><p>Right
- after you say: "With this access token your application can make
- Bitbucket API calls.". Or maybe give us a link to an example (oauth.org,
- etc.)</p><p>The "OAuth Consumer Examples" is not low-level enough. The
- oauth.net is all about Oauth version 2 (that's why the question above). I
- don't know what to do with:</p><pre>oauth_token_secret=aH9bzCKjKT5uXWueeENr9LKNh2jyyUVj&oauth_token=NqFQPmgsa4QQ9StW2R</pre><p>Do they go in the request URL's or are they request headers?<br>Does casing matter if headers?<br>Are there any other steps required other then attaching them as query parameters/headers?</p><p>Thanks for help!</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110020#comment-351110020" id="comment-permalink-351110020"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 09, 2013 10:32" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110020#comment-351110020"><span>May 09, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110020#comment-351110020"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=351110020#comment-351110020"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/351110020"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-352256330" class="comment-thread">
- <div class="comment " id="comment-352256330">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Gabriel, </p><p>At the moment, our only example is <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+consumer+examples">OAuth Consumer Examples</a>.
- What you want is a more detailed client and you might be able to
- find one in the existing repositories. Just search here for
- bitbucket:</p><p><a href="https://bitbucket.org/repo/all/" class="external-link" rel="nofollow">https://bitbucket.org/repo/all/</a></p><p>We'll add a more detailed tutorial when time allows.</p><p>Mary</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256330#comment-352256330" id="comment-permalink-352256330"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 10, 2013 21:00" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256330#comment-352256330"><span>May 10, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256330#comment-352256330"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=352256330#comment-352256330"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/352256330"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-360677495" class="comment-thread">
- <div class="comment odd" id="comment-360677495">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Hi,</p><p>I am able to validate user and call
- the API when the user authorizes from bitbucket page. What values
- should I save for future API call by the application on a regular
- interval (or based on git hook)? I see the authorization is saved on
- bitbucket page- not sure how to use that. I tried to use rtoken, rsecret
- and oauth_verifier from the first request but did not work (Provider
- returned: Invalid OAuth verifier.).</p><p> </p><p>Thanks,<br>Maruf</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=360677495#comment-360677495" id="comment-permalink-360677495"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 26, 2013 20:41" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=360677495#comment-360677495"><span>May 26, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=360677495#comment-360677495"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=360677495#comment-360677495"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/360677495"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-361726231" class="comment-thread">
- <div class="comment " id="comment-361726231">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Maruf,</p><p>Did you look at our <a href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+consumer+examples">OAuth Consumer Examples</a> page? Depending on your experience, you may find an OAuth manual such as <a href="http://shop.oreilly.com/product/0636920021810.do" class="external-link" rel="nofollow">Getting Started with OAuthh 2.0</a> helpful.</p><p>Mary</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=361726231#comment-361726231" id="comment-permalink-361726231"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="May 28, 2013 16:18" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=361726231#comment-361726231"><span>May 28, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=361726231#comment-361726231"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=361726231#comment-361726231"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/361726231"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-375423122" class="comment-thread">
- <div class="comment odd" id="comment-375423122">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Hi,</p><p>I have a strange problem. I am able to get an access token. I construct a URL as below and replace %s with appropriate values.</p><p><a href="https://bitbucket.org/api/1.0/repositories/nasir/rasul/branches?oauth_token_secret=%s&oauth_token=%s" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/repositories/nasir/rasul/branches?oauth_token_secret=%s&oauth_token=%s</a></p><p>When I invoke an http request .get, I get Forbidden response. </p><p>If
- I paste the same URL in the browser I get correct response. I am
- absolutely stumped. Is there any other parameter bitbucket expects?</p><p>Thanks.</p><p>Nasir</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423122#comment-375423122" id="comment-permalink-375423122"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jun 23, 2013 03:53" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423122#comment-375423122"><span>Jun 23, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423122#comment-375423122"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423122#comment-375423122"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/375423122"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-375423159" class="comment-thread">
- <div class="comment " id="comment-375423159">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>solved it - using Scribe, one of the oauth
- libraries. My problem was probably the signing the request before
- accessing the resource.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423159#comment-375423159" id="comment-permalink-375423159"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jun 23, 2013 08:41" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423159#comment-375423159"><span>Jun 23, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423159#comment-375423159"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=375423159#comment-375423159"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/375423159"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-381255908" class="comment-thread">
- <div class="comment odd" id="comment-381255908">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: zeroone3010" title="zeroone3010"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ezeroone3010" class="url fn">Ville Saalo</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>In Step 3, "Redirect the user to Bitbucket to
- authorize your application", is it possible to get a mobile-optimized
- login page? It makes for a really bad user experience when the large
- desktop layout is crammed into a small smartphone screen. The user must
- zoom in and scroll around just to be able to log in. <img class="emoticon emoticon-sad" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/sad.png" data-emoticon-name="sad" alt="(sad)"></p><p>Edit: I've created an issue about this: <a href="https://bitbucket.org/site/master/issue/7744/oauth-login-page-to-support-mobile" class="external-link" rel="nofollow">https://bitbucket.org/site/master/issue/7744/oauth-login-page-to-support-mobile</a></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=381255908#comment-381255908" id="comment-permalink-381255908"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jul 11, 2013 00:39" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=381255908#comment-381255908"><span>Jul 11, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=381255908#comment-381255908"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=381255908#comment-381255908"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/381255908"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-389780749" class="comment-thread">
- <div class="comment " id="comment-389780749">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>hi,</p><p>I'm looking for advice really - i
- want to grab meta data from my private repository to show on my main
- website meta such as bug tracking info and issues-tracking info. oAuth
- sounds like what i want but having never used it i don't know. Is oAuth
- the way to go or can i make calls form my php scripts without it. I
- would like to use xml or json format etc. My Site visitors will not use
- the end-point - it will only be my scripts on my website making calls to
- my bitbucket repository</p><p> </p><p>thanks in advance</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780749#comment-389780749" id="comment-permalink-389780749"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 07, 2013 15:38" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780749#comment-389780749"><span>Aug 07, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780749#comment-389780749"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780749#comment-389780749"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/389780749"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-389780799" class="comment-thread">
- <div class="comment odd" id="comment-389780799">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>You know, there are lots of ways you can go
- about this. You could, for example, use scripts to construct that
- data locally and push it out a website. If you used scripts you
- could use a deploy key to pull the data. You could use a build
- tool or a crontab type job to run these. Any such solution would
- not require OAuth. OAuth is more if you want to write software to
- access other user's data.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780799#comment-389780799" id="comment-permalink-389780799"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 07, 2013 16:49" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780799#comment-389780799"><span>Aug 07, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780799#comment-389780799"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780799#comment-389780799"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/389780799"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-389780837" class="comment-thread">
- <div class="comment " id="comment-389780837">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: nejavu" title="nejavu"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Enejavu" class="url fn">anilee</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>hi, (just created an account),</p><p>Ok, so
- use a script on my local machine and access the raw data from the
- .git directory in my local project directory? and push to my site
- so im bypassing bitbucket really?</p><p>I really like the history info and tracking info shown in GIT GUI's, sourcetree and SmartGit.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780837#comment-389780837" id="comment-permalink-389780837"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 07, 2013 17:59" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780837#comment-389780837"><span>Aug 07, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780837#comment-389780837"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780837#comment-389780837"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/389780837"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-389780872" class="comment-thread">
- <div class="comment odd" id="comment-389780872">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Essentially, if you are accessing <u>your own account data</u>
- you don't really need OAuth. You can use another means to authenticate
- to Bitbucket. If that data is something you can get from your local
- repository fine. If it is something you want via REST, you can use Basic
- Auth as you know your username / password.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780872#comment-389780872" id="comment-permalink-389780872"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 07, 2013 18:41" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780872#comment-389780872"><span>Aug 07, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780872#comment-389780872"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780872#comment-389780872"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/389780872"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-389780963" class="comment-thread">
- <div class="comment " id="comment-389780963">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: nejavu" title="nejavu"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Enejavu" class="url fn">anilee</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>yes, just read one of your previous activities <strong>'<a href="https://confluence.atlassian.com/display/BITBUCKET/Use+the+Bitbucket+REST+APIs" title="Bitbucket" rel="nofollow">Use the Bitbucket REST APIs</a>'</strong> - its exactly what i was looking for - wish i'd seen this first.</p><p>Thanks</p><p> </p><p> </p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780963#comment-389780963" id="comment-permalink-389780963"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 07, 2013 21:15" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780963#comment-389780963"><span>Aug 07, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780963#comment-389780963"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=389780963#comment-389780963"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/389780963"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- </ol>
- </li>
- </ol>
- </li>
- </ol>
- </li>
- <li id="comment-thread-390498012" class="comment-thread">
- <div class="comment odd" id="comment-390498012">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: p0wer" title="p0wer"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ep0wer" class="url fn">z38</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Hi,</p><p>is there any special reason for using an exclamation point in some of the URLs (e.g. /!api/)?</p><p>Thanks!</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=390498012#comment-390498012" id="comment-permalink-390498012"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 11, 2013 17:01" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=390498012#comment-390498012"><span>Aug 11, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=390498012#comment-390498012"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=390498012#comment-390498012"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/390498012"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-391086451" class="comment-thread">
- <div class="comment " id="comment-391086451">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>That is just another way to reach the same API. I need to clean that up. Which page did you see it on?</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086451#comment-391086451" id="comment-permalink-391086451"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 12, 2013 15:53" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086451#comment-391086451"><span>Aug 12, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086451#comment-391086451"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086451#comment-391086451"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/391086451"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-391086473" class="comment-thread">
- <div class="comment odd" id="comment-391086473">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: p0wer" title="p0wer"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ep0wer" class="url fn">z38</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>I think it occurs 4 times (once in step 2 and 4 and two times in step 3). Thank you for clarifying it!</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086473#comment-391086473" id="comment-permalink-391086473"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 12, 2013 16:26" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086473#comment-391086473"><span>Aug 12, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086473#comment-391086473"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391086473#comment-391086473"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/391086473"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-391088097" class="comment-thread">
- <div class="comment " id="comment-391088097">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: manthony" title="manthony"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Emanthony" class="url fn">manthony</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Took care of it. Thanks for the catch.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391088097#comment-391088097" id="comment-permalink-391088097"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 13, 2013 21:33" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391088097#comment-391088097"><span>Aug 13, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391088097#comment-391088097"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=391088097#comment-391088097"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/391088097"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- </ol>
- </li>
- </ol>
- </li>
- <li id="comment-thread-427623323" class="comment-thread">
- <div class="comment odd" id="comment-427623323">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: allan.chau" title="allan.chau"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Eallan.chau" class="url fn">Allan Chau</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>There seems to be a lack of iOS libraries
- supporting ARC so I decided to implement the OAuth protocol myself.
- Although I couldn't find it specified anywhere, when using the
- recommended HTML headers and HMAC-SHA1 you will need to double encode
- the callback URL AND include the Host header.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=427623323#comment-427623323" id="comment-permalink-427623323"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Nov 27, 2013 23:07" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=427623323#comment-427623323"><span>Nov 27, 2013</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=427623323#comment-427623323"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=427623323#comment-427623323"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/427623323"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-442270118" class="comment-thread">
- <div class="comment " id="comment-442270118">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: " title=""> </p>
- <div class="comment-header">
- <h4 class="author"> <span class="anonymous-user">Anonymous</span></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>every time when i want send a request to <a href="https://bitbucket.org/api/1.0/oauth/access_token" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/oauth/access_token</a></p><p>i get <span style="color: rgb(0,0,0);">Could not verify OAuth request.</span></p><p><span style="color: rgb(0,0,0);"> </span><span style="color: rgb(0,0,0);">whats going on here? -.-</span></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270118#comment-442270118" id="comment-permalink-442270118"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jan 31, 2014 00:39" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270118#comment-442270118"><span>Jan 31, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270118#comment-442270118"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270118#comment-442270118"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/442270118"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-442270133" class="comment-thread">
- <div class="comment odd" id="comment-442270133">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: mbertrand" title="mbertrand"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Embertrand" class="url fn">Marcus Bertrand [Atlassian]</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>If you're having issues, please come to support and include <em>all </em>headers with this request so we can help you. Also, try checking out the examples on this page.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270133#comment-442270133" id="comment-permalink-442270133"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jan 31, 2014 01:06" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270133#comment-442270133"><span>Jan 31, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270133#comment-442270133"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=442270133#comment-442270133"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/442270133"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-449904980" class="comment-thread">
- <div class="comment " id="comment-449904980">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: cartrege" title="cartrege"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ecartrege" class="url fn">Alexander Serdcev</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Hello!</p><p>Once the user has connected application, how can I find out his username, so I could semi list of its repository?</p><p>Here: <br><a href="https://confluence.atlassian.com/display/BITBUCKET/users+Endpoint#usersEndpoint-GETtheuser" rel="nofollow">https://confluence.atlassian.com/display/BITBUCKET/users+Endpoint#usersEndpoint-GETtheuser'srepositories</a></p><p>said that I should already know the username of the user. How can I get it after the user connects the application?</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904980#comment-449904980" id="comment-permalink-449904980"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Feb 15, 2014 10:50" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904980#comment-449904980"><span>Feb 15, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904980#comment-449904980"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904980#comment-449904980"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/449904980"/>
- </rdf:RDF>
- -->
-
- <ol class="comment-threads">
- <li id="comment-thread-449904984" class="comment-thread">
- <div class="comment odd" id="comment-449904984">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: allan.chau" title="allan.chau"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Eallan.chau" class="url fn">Allan Chau</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>I have the same problem, you should be using the following:</p><p><span style="line-height: 1.6666666;">GET </span><a href="https://bitbucket.org/api/1.0/user" style="line-height: 1.6666666;" class="external-link" rel="nofollow">https://bitbucket.org/api/1.0/user</a></p><p>However, it didn't work for me.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904984#comment-449904984" id="comment-permalink-449904984"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Feb 15, 2014 11:03" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904984#comment-449904984"><span>Feb 15, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904984#comment-449904984"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=449904984#comment-449904984"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/449904984"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
- </li>
- <li id="comment-thread-622985612" class="comment-thread">
- <div class="comment " id="comment-622985612">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: krosenberg" title="krosenberg"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ekrosenberg" class="url fn">Keith Rosenberg</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Is there any way to get a personal access token (OAuth) like you can on Github? <a href="https://github.com/settings/applications#personal-access-tokens" class="external-link" rel="nofollow">https://github.com/settings/applications#personal-access-tokens</a></p><p>I am trying to setup Bitbucket with .netrc without having to actually store my password in text. See <a href="https://github.com/component/guide/blob/master/component/getting-started.md#configuring-bitbucket-access" class="external-link" rel="nofollow">https://github.com/component/guide/blob/master/component/getting-started.md#configuring-bitbucket-access</a></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=622985612#comment-622985612" id="comment-permalink-622985612"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Jul 01, 2014 13:55" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=622985612#comment-622985612"><span>Jul 01, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=622985612#comment-622985612"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=622985612#comment-622985612"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/622985612"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-648218187" class="comment-thread">
- <div class="comment odd" id="comment-648218187">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: dietervds" title="dietervds"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Edietervds" class="url fn">dietervds</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>I struggled for a while on exactly how I had to do a request to the Bitbucket API once I had the access token.</p><p>If
- you're using PHP, this is what worked perfectly for me: Install Guzzle
- (v4 at time of writing) with composer, and install the Guzzle OAuth
- Subscriber plugin. Fill in what you need, and you're good to go.
- You can find the plugin and usage example here: <a href="https://github.com/guzzle/oauth-subscriber" class="external-link" rel="nofollow">https://github.com/guzzle/oauth-subscriber</a></p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=648218187#comment-648218187" id="comment-permalink-648218187"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Aug 14, 2014 07:29" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=648218187#comment-648218187"><span>Aug 14, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=648218187#comment-648218187"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=648218187#comment-648218187"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/648218187"/>
- </rdf:RDF>
- -->
-
- </li>
- <li id="comment-thread-687220518" class="comment-thread">
- <div class="comment " id="comment-687220518">
- <p class="comment-user-logo">
- <img class="userLogo logo anonymous" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/anonymous.png" alt="User icon: kazssym" title="kazssym"> </p>
- <div class="comment-header">
- <h4 class="author"> <a href="https://confluence.atlassian.com/display/%7Ekazssym" class="url fn">Kaz Nishimura</a></h4>
- </div>
- <div class="comment-body">
- <div class="comment-content wiki-content">
- <p>Is there any way to force re-authentication
- of any already logged-in user in OAuth sign-in? It seems some cookies
- identifying the user are remembered and I cannot make users switch their
- accounts even if I throw away the old access token.</p><p>If you cal tell which cookie is identifying a user, I can try to delete it on the client side.</p>
- </div>
- <div class="comment-actions">
- <ul class="comment-actions-secondary">
- <li class="first comment-permalink"><a title="Permanent link to this comment" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=687220518#comment-687220518" id="comment-permalink-687220518"><span>Permalink</span></a></li>
- </ul>
- <ul class="comment-actions-primary">
- <li style="display: none;" class="comment-action-like"><span class="like-summary"></span></li><li class="first comment-date"><a title="Nov 27, 2014 04:29" href="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=687220518#comment-687220518"><span>Nov 27, 2014</span></a></li>
- </ul>
- </div>
- </div>
- </div>
- <!--
- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
- <rdf:Description
- rdf:about="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=687220518#comment-687220518"
- dc:identifier="https://confluence.atlassian.com/display/BITBUCKET/OAuth+on+Bitbucket?focusedCommentId=687220518#comment-687220518"
- dc:title="OAuth on Bitbucket"
- trackback:ping="https://confluence.atlassian.com/rpc/trackback/687220518"/>
- </rdf:RDF>
- -->
-
- </li>
- </ol>
-
- <div class="bottom-comment-panels comment-panels">
- </div>
-
- </div>
-
- </div>
-
-
-
-
-
-
- </div>
-
- <div id="theme-footer">
- <div class="sectionColumnWrapper"><div class="sectionMacro"><div class="sectionMacroRow"><div class="columnMacro" style="width:212px;min-width:212px;max-width:212px;"><p><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/spacer.png" data-image-src="/download/attachments/221449496/spacer.png?version=1&modificationDate=1280299220337&api=v2"><br> <a href="mailto:support@bitbucket.org" class="external-link" rel="nofollow"><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/btn_support.png" data-image-src="/download/attachments/221449496/btn_support.png?version=2&modificationDate=1344998522481&api=v2"></a><br> Log a <a href="mailto:support@bitbucket.org" class="external-link" rel="nofollow">request</a> with our support team.</p></div><div class="columnMacro" style="width:212px;min-width:212px;max-width:212px;"><p><br> <a href="https://bitbucket.org/site/master/issues/" class="external-link" rel="nofollow"><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/btn_bug.png" data-image-src="/download/attachments/221449496/btn_bug.png?version=2&modificationDate=1344998515396&api=v2"></a><br> Search for an <a href="https://bitbucket.org/site/master/issues/" class="external-link" rel="nofollow">issue</a>, or create one if none exists.</p></div><div class="columnMacro" style="width:212px;min-width:212px;max-width:212px;"><p><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/spacer.png" data-image-src="/download/attachments/221449496/spacer.png?version=1&modificationDate=1280299220337&api=v2"><br> <a href="http://answers.atlassian.com/tags/bitbucket/" class="external-link" rel="nofollow"><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/btn_answers.png" data-image-src="/download/attachments/221449496/btn_answers.png?version=1&modificationDate=1344998511159&api=v2"></a><a href="http://groups.google.com/group/bitbucket-users" class="external-link" rel="nofollow"><br> See </a><a href="http://answers.atlassian.com/tags/bitbucket/" class="external-link" rel="nofollow">answers</a><a href="http://answers.atlassian.com/tags/bitbucket/" class="external-link" rel="nofollow"> from the community.</a></p></div><div class="columnMacro" style="width:212px;min-width:212px;max-width:212px;"><p><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/spacer.png" data-image-src="/download/attachments/221449496/spacer.png?version=1&modificationDate=1280299220337&api=v2"><br> <a href="https://confluence.atlassian.com/display/BITBUCKET/Contributing+to+the+Bitbucket+Documentation"><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/btn_docs.png" data-image-src="/download/attachments/221449496/btn_docs.png?version=2&modificationDate=1344998519314&api=v2"></a><br> <a href="https://confluence.atlassian.com/display/BITBUCKET/Contributing+to+the+Bitbucket+Documentation">Tweet, blog and update</a> our documentation.</p></div></div></div></div>
- <div class="sectionColumnWrapper"><div class="sectionMacro"><div class="sectionMacroRow"><div class="columnMacro" style="width:900px;min-width:900px;max-width:900px;"><p style="text-align: center;"> </p><p style="text-align: center;"><a href="http://creativecommons.org/licenses/by/2.5/au/" class="external-link" rel="nofollow"><img class="confluence-embedded-image" src="OAuth%20on%20Bitbucket%20-%20Bitbucket%20-%20Atlassian%20Documentation_pliki/ico_cc.png" data-image-src="/download/attachments/180295777/ico_cc.png?version=1&modificationDate=1256506275108&api=v2"></a> Except where otherwise noted, content in this space is licensed under a <a href="http://creativecommons.org/licenses/by/2.5/au/" class="external-link" rel="nofollow">Creative Commons Attribution 2.5 Australia License</a>.</p><p style="text-align: center;"> </p></div></div></div></div>
- </div>
-
- </div>
- </div>
-
-
- <div id="footer" role="contentinfo">
- <section class="footer-body">
-
-
-
- <div class="gliffy-webpanel-footer"><span></span></div>
- <ul id="poweredby">
- <li class="noprint">Powered by <a href="http://www.atlassian.com/software/confluence" class="hover-footer-link">Atlassian Confluence</a> <span id="footer-build-information">5.6.4</span><span id="footer-cluster-node-id">(cluster node: d6e9a7d8)</span>, <a href="http://www.atlassian.com/software/confluence/overview/team-collaboration-software?utm_source=confluence-footer" class="hover-footer-link">Team Collaboration Software</a></li>
- <li class="print-only">Printed by Atlassian Confluence 5.6.4, Team Collaboration Software.</li>
- <li class="noprint"><a href="https://jira.atlassian.com/browse/CONF" class="hover-footer-link">Report a bug</a></li>
- <li class="noprint"><a href="http://www.atlassian.com/about/connected.jsp?s_kwcid=Confluence-stayintouch" class="hover-footer-link">Atlassian News</a></li>
- <li class="noprint">node3</li><li></li></ul>
-
- <div id="footer-logo"><a href="http://www.atlassian.com/">Atlassian</a></div>
- <!-- Google Analytics statistic tracking for CAC - do not remove, EVER! Team-WTF. And always test on QA-CAC. Team-Brian-andPer -->
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-6032469-8']);
- _gaq.push(['_setDomainName', '.atlassian.com']);
- _gaq.push(['_trackPageview']);
- _gaq.push(['devrel._setAccount', 'UA-6032469-39']);
- _gaq.push(['devrel._setDomainName', '.atlassian.com']);
- _gaq.push(['devrel._trackPageview']);
- _gaq.push(['demandgen._setAccount', 'UA-6032469-23']);
- _gaq.push(['demandgen._setDomainName', '.atlassian.com']);
- _gaq.push(['demandgen._trackPageview']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- /* ADM-19936: GA tracking for attachment downloads */
- jQuery(function ($) {
- $("a[href^='/download/attachments/']").each(function () {
- var $link = $(this);
- $link.click(function() {
- _gaq.push(['_trackPageview', $link.attr('href')]);
- });
- });
- });
- /* ADM-26328: Add Google Analytics tracking to expand macro */
- AJS.toInit(function($) {
- var openedOnce = false;
- var pageID = AJS.Meta.get("page-id");
- //send an Asynchronous trackEvent when expand-control is expanded and only on the first expand.
- //syntax is: _gaq.push(['_trackEvent', 'category', 'action', 'opt_label','opt_value','opt_noninteraction']);
- $(".expand-control").bind("click",function() {
- if (!$('.expand-control-icon', this).hasClass('expanded')) {
- return;
- } else if (openedOnce == false) {
- var exactElement = AJS.$(this).children(".expand-control-text").html();
- _gaq.push(['_trackEvent', 'ExpandTracker - Expand', pageID, exactElement]);
- openedOnce = true;
- }
- });
- });
- </script>
- <script type="text/javascript">AJS.$("#poweredby").append("<li class='noprint'>" + (getCookie("JSESSIONID") != null ? new RegExp("node\\d").exec(getCookie("JSESSIONID")) : "") + "<li>");</script>
-
- </section>
- </div>
-
- </div>
- <div id="fancybox-tmp"></div><div id="fancybox-loading"><div></div></div><div id="fancybox-overlay"></div><div id="fancybox-wrap"><div id="fancybox-outer"><div class="fancybox-bg" id="fancybox-bg-n"></div><div class="fancybox-bg" id="fancybox-bg-ne"></div><div class="fancybox-bg" id="fancybox-bg-e"></div><div class="fancybox-bg" id="fancybox-bg-se"></div><div class="fancybox-bg" id="fancybox-bg-s"></div><div class="fancybox-bg" id="fancybox-bg-sw"></div><div class="fancybox-bg" id="fancybox-bg-w"></div><div class="fancybox-bg" id="fancybox-bg-nw"></div><div id="fancybox-content"></div><a id="fancybox-close"></a><div id="fancybox-title"></div><a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a><a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a></div></div><div style="display: none;" id="content-hover-shadow"><div class="tl"></div><div class="tr"></div><div class="l"></div><div class="r"></div><div class="bl"></div><div class="br"></div><div class="b"></div></div><div style="position: relative; z-index: 0;" id="fileuploadShim"></div><div class="plupload html5" style="position: absolute; background: none repeat scroll 0% 0% transparent; width: 1353px; height: 0px; overflow: hidden; z-index: -1; opacity: 0; top: 621px; left: 0px;" id="p19aqokro01pv317761ll617brqsm0_html5_container"><input id="p19aqokro01pv317761ll617brqsm0_html5" style="font-size: 999px; position: absolute; width: 100%; height: 100%;" accept="" multiple="multiple" type="file"></div><div id="cw-notification-container"></div></body></html>