Stash Application link authorization issue

Hi!

For new 'include stash for confluence' plugin I created an application link between the 'Confluence Space' and a 'Stash project' and added macros, works fine till here. However when my team member(A) visits the page the macros gives error :

'Connection to Stash could not be established. Verify that you have properly configured the Stash application link for your Confluence space and that your Stash instance is up and running.'

We were able to resolve this as soon as my team member(A) created a new link to stash and authorize himself.

Does that mean every user will have to create an application link? or is there a simpler way by which users can authorize themselves and then can view the added macros.

2 answers

1 accepted

0 votes
Accepted answer

Hi Nick!

Thanks for the response.

Actually, the isue was that the users were not getting the link to authenticate themselves.

The plugin team worked on the issue, and released a new version 1.1.1.After the upgrade, users have to authorize themselves against Stash once for a Confluence space ( a link is provided for this).

0 votes
Nick Pellow Atlassian Team Aug 31, 2014


Does that mean every user will have to create an application link?

No.

It sounds like you had some misconfiguration in the old Application Link you'd created, and the new one which team member(A) added resolved that issue.

You only need one Application Link between Stash and Confluence. How authorisation works depends on how the link is configured.

If both applications (Stash, Confluence) have the same set of users, then you should configure what is called "2 Legged-OAuth with impersonation". This means that the remote application is automatically authorised to access each user's data.

If you have a separate set of users in each system, you should configure "3 Legged OAuth", then each user will need to grant the remote system access to their data individually.

Hi Nick!

Thanks for the response.

Actually, the isue was that the users were not getting the link to authenticate themselves.

The plugin team worked on the issue, and released a new version 1.1.1.After the upgrade, users have to authorize themselves against Stash once for a Confluence space ( a link is provided for this).

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,148 views 0 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you