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

Custom Application Link Configuration not working due to XSRF Security Token Missing message

    XMLWordPrintable

Details

    Description

      Problem

      When attempting to configure an Application Link to a non-Atlassian generic application:

      • A warning for XSRF Security Token Missing will prevent any authentication configuration changes to be saved

      Environment

      Reproduce in local environment using

      • Confluence Server version 7.8.3
        Here is also a list of binaries that have been tested
        atlassian-confluence-7.11.2-x64.bin / fail
        atlassian-confluence-7.10.2-x64.bin / fail
        atlassian-confluence-7.9.3-x64.bin / fail
        atlassian-confluence-7.8.3-x64.bin / fail
        atlassian-confluence-7.7.4-x64.bin / fail
        atlassian-confluence-7.6.3-x64.bin / fail
        atlassian-confluence-7.4.8-x64.bin / fail
        atlassian-confluence-7.4.7-x64.bin / fail
        atlassian-confluence-7.4.6-x64.bin / fail
        atlassian-confluence-7.4.3-x64.bin / Success
        atlassian-confluence-7.4.1-x64.bin / Success

      Steps to Reproduce

      • Create a new application link - we used https://www.thisisanapplicationlinktest.com just for testing
      • Proceed with the creation and then Edit the new entry
      • Try to save changes in either the menu for outgoing authentication or incoming authentication

      Expected Results

      • We expect to be able to save the changes against the application link
      • We expect to see the template correctly rendered

      Actual Results

      • Instead we will receive a warning message on XSRF Security Token Missing message
      • The template for these menus is not properly rendered
      • Stack Trace as seen in the application logs. Full Stack trace as seen during the Bug reproduction is in attachments below. 

      Workaround

      To edit Oauth configurations:

      • Delete the applink you would like to edit
      • Re-create the applink
      • On `Configure Application URL` dialog, fill out the whole form, don't check `Use this URL` checkbox and continue
      • On `Link Application`  dialog, fill out the whole form and check `create incoming link` and continue
      • Fill out the final form and submit

      Notes

      The recording is attached to illustrate the issue. XSRF Security Token Missing - Application Links.mp4

      Attachments

        Issue Links

          Activity

            People

              ggautam Ganesh Gautam
              41f41363dede YuGieom Kim
              Votes:
              10 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: