Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.2.5, 5.2.11, 6.1.3
-
None
-
Confluence 5.3.4, 5.5.3, 5.6.1
-
5.02
-
Description
External gadgets do not work on JIRA 6.1.3 when Trusted Applications is configured between two applications. However, oAuth authentication seems to be working fine.
This issue can occur in a variety of gadgets (i.e. Overdue Review gadget, Confluence Page gadget) among different products, follow is the description of how to replicate this issue with JIRA and Confluence.
Steps to reproduce
- Setup JIRA 6.1.3 and Confluence 5.3.4
- Configure 'Trusted Application' application link between the two applications
- Add "Show Confluence Page" gadget on JIRA
- You will face error on the gadget as example in gadget.jpg with HTTP Status 401 Unauthorized Error.
If DEBUG is enabled on Confluence, the following will be thrown
2013-12-10 18:11:10,724 DEBUG [http-8090-17] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] setFailureHeader BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:73)