How can I let my colleagues use my Forge app without having to allow access?

I’m an admin on my work Confluence site. I’ve built a Forge app and installed it (production version) on the site. I can add it no problem, and it shows what I expect it to. However, if any of my colleagues try to add it to a page, or if they try to view it in a page to which I’ve added it, they see the error “You need to allow the app to access Atlassian products on your behalf”.

They also get an ‘allow access’ button, but when they click it they’re told that they don’t have permission to do that.

In my manifest file I have:

modules:
  macro:
    - key: page-views
      function: main
      title: Page Views
      description: Shows the number of views for each of the 10 most-viewed pages in this space
  function:
    - key: main
      handler: index.run
app:
  id: xxxxxx
  features:
    autoUserConsent: true
permissions:
  scopes:
    - read:confluence-content.summary
    - read:page:confluence
    - read:space:confluence

What can I do to fix this?

Hi @SharonGilmore ,

I suspect you haven’t enabled sharing of your app. You can do this as follows:

  1. Visit https://developer.atlassian.com/apps.
  2. Search for your app and select it.
  3. Click on the Distribution menu item in the left.
  4. Click the Edit button.
  5. Select the Sharing option.
  6. Click the Save changes button.

I’ll work with the Forge team to see if we can make the experience clearer.

Regards,
Dugald

Thank you. So do I need to get everyone in the organisation to use that installation link in order to see my app? What I’m trying to do is create an app which will display information to the entire company - I don’t really want them to have to install it individually. There are about 250 people in the company, and I know that a lot of them just wouldn’t do it.

I don’t want to share the app outside of the company, if that makes any difference.

Hi @SharonGilmore,

All you need to do is to share the app via the Distribution option in the developer console (Developer console), there is no need for every user to install the app installation link.

On your company site where the app is installed, once the Sharing option is enabled, each user with access to the site will be able to access the app.

Caterina

1 Like

Thank you - that seems to be working now!