Only app contributors can pass the consent flow of the production version of Forge app installed

Yuri Karnilaev _Stiltsoft_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2023

Hello,

We've probably faced some Bitbucket Forge limitation when only app contributors can pass the consent flow. Even in the case when the production version of the Forge app is installed. If users are not in the app contributors list they see the following message when passing the consent flow:

cbda068d5781d66980aaa408c9ef12672cc7c58a.png

Steps for reproducing are the following:

1. Install a Forge app with the consent requirement in the Bitbucket workspace by command:

forge install -e production -p bitbucket

2. Open the app by user who is not an app contributor

 

Please tell me, Is this Forge platform's behavior intentional?

 

Kind regards,
Yuri

2 comments

Comment

Log in or Sign up to comment
Wendy G
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 2, 2023

Hi Yuri,

Yes this behaviour is as expected if you have not yet shared your app in developer console distribution page. 

To share the app:

  1. Using the Forge CLI, deploy your app to the production environment.

  2. In the developer console, choose the app you want to share.

  3. Select Distribution in the left menu, and under 'Distribution controls', select Edit.

  4. Select the Sharing option, fill in the app details, and select Save changes.

Note installation link is not yet implemented for Bitbucket apps. However once you've changed your app distribution status to "Sharing" then non-contributors will be able to use the consent screen to allow access to the app.

If this doesn't work, let me know your app ID and I can follow up with Forge teams to debug further.

Thanks

Wendy

Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 26, 2023

Just closing the loop here by letting you all know that this has been resolved now (see related changelog).

While I'm here, let me also share that the `-p bitbucket` is not needed anymore when installing an app and Bitbucket has been added as an option in the `forge install` command directly (see related changelog).

Cheers,
Caterina

TAGS
AUG Leaders

Atlassian Community Events