Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I create an APP token in Stash OnPrem

Christian Bongiorno
Contributor
September 20, 2018

This is a pretty basic feature for REST integration and I am familiar with doing it in many apps.

 

I have an OnPrem stash and when I go to "authorized applications" It's blank and there is no button to generate an auth token. There is also no section for "personal access token" anywhere even though several places in official atlassian documentation says there should be.

 Update: If I log in through the browser and just steal the cookie header, then I get results. If I try and use basic auth it tells me I am not authorized no matter what set of username/pass I use

Build Number4014004Build TimestampSun Mar 26 16:40:41 PDT 2017Build Version4.14.4

Screen Shot 2018-09-20 at 4.22.00 PM.pngBuild Number4014004Build TimestampSun Mar 26 16:40:41 PDT 2017Build Version4.14.4

 

1 answer

0 votes
Mark A.
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 21, 2018

Hey Christian,

Personal Access Tokens were not introduced until v5.5 of Bitbucket Server. To get this feature you will need to upgrade your instance to at least 5.5 of Bitbucket.

Otherwise, your current authentication methods are noted in the REST API resources page where we also link to some OAuth script examples.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events