Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-45189

External gadgets in Confluence should not prompt users to Login and Approve

    XMLWordPrintable

Details

    Description

      Problem:

      When using an external gadget (e.g., JIRA gadget "Pie Chart") in a Confluence page, every user who views the page is prompted to "Login and approve" the gadget in JIRA before they can see the content.

      This happens for every user for every gadget, meaning that if I create a Confluence page using Pie Chart, Filter Results, Average Age Chart, and Two-Dimensional Issue Statistics and send it to executives for review, every executive has to "Login and Approve" every gadget. Worse, sometimes the "approval" token doesn't stick, and a user has to go through the process again.

      We have tried single sign-on, creating a trusted application link, setting up 2-way oauth with impersonation, and combinations of all of the above, to no avail.

      Atlassian support has confirmed there is currently no way to bypass or automate the approval.

      This is unacceptable for our 10,000 user base and makes our Confluence look unprofessional.

      Please allow 2-way oauth with impersonation to automatically approve external gadgets.

      Note: We never experienced this problem on Confluence 5.6. We cannot roll-back our upgrade, but we are severely regretting it.

      Steps to Reproduce:

      1. Integrate JIRA with Confluence through Application link.
      2. On the create application link wizard, check the same user base option and make sure the user used for the integration is exist on Confluence.
      3. After it, an applicaiton link with Oauth(Impersonation) will be created.
      4. On JIRA Dashboard, add a new gadget to find JIRA Gadget XML e.g. Filter Result Gadget.
      5. Copy the XML link and navigate to Confluence General Configuration > External Gadgets.
      6. Add the gadget by using the XML link.
      7. Create a new Confluence page and add a gadget by using "Other Macros"
      8. Choose the newly added JIRA "Filter Results" gadget.

      Expected Result:

      • Just like JIRA Issue Macro, the filter will be researchable or issues for JIRA Issue Macro.

      Actual Result:

      • "Login & Approve" will come out and user need to authenticate to retrive filters in JIRA.

      Note:

      Referring to the documentation Oauth Security for Applinks that using impersonation would not be needed for the user to authenticate as long the user is not redirected to the linked information:

      they're automatically authenticated on the other application and don't get asked to authorize requests.

      Attachments

        1. extgadget.gif
          extgadget.gif
          6.96 MB
        2. WhatTheHeckDoesThisReallySay.PNG
          WhatTheHeckDoesThisReallySay.PNG
          27 kB

        Issue Links

          Activity

            People

              zzhou Zhenhuan Zhou (Inactive)
              8c04c6b30aa3 Renee Lyons
              Votes:
              95 Vote for this issue
              Watchers:
              107 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: