Uploaded image for project: 'Atlassian OAuth 2.0'
  1. Atlassian OAuth 2.0
  2. OAUTH20-2

Testing connection to invalid OAuth 2.0 integration produces no logs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.0.2
    • 1.0.0
    • OAuth 2.0 Client
    • None
    • Severity 3 - Minor

      Issue Summary

      When testing connection for an OAuth 2.0 integration fails, no error details are displayed in application logs.

      Steps to Reproduce

      1. Add an invalid OAuth 2.0 configuration
      2. On the list of configurations, click 'Test connection'
      3. Await error: 'The connection has failed. Check the application logs for details.'

      Expected Results

      Application logs contain details about the error.

      Actual Results

      Application logs have no additional information about the error.

      Workaround

      The error details are sent back from the server in REST response. Use browser's dev tools to preview network communication, and the error can be extracted from response body:

      {
        "success": false,
        "error": "<details>"
      }
      

              Unassigned Unassigned
              moles Marcin Oles
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: