Why am I getting "Expecting claim 'qsh' to have value 'A' but instead it has the value 'B'

Matthias Küspert November 25, 2017

I develop a connect plugin with Spring-Boot and my plugin has a configuration page with a form. On submit of this form my backend is called, but logs the above error.

Since the atlassian-connect-spring-boot documentation states:

atlassian-connect-spring-boot-starter provides the following features: 

...

  • Authentication of requests from iframe content back to the add-on

I'd expect that the whole JWT handling is done by the framework.

Did I miss to configure something? My iframe includes the all.js script:

<script src="https://kuespert-dev.atlassian.net/atlassian-connect/all-debug.js" type="text/javascript" data-options="sizeToParent:true;"></script>

and the atlassian-connect.json contains the following authentication entry:

"authentication": {
"type": "jwt"
},

and authenticated communication from my plugin to Jira via REST works fine.

Can anybody help?

2 answers

0 votes
Matthias Küspert January 31, 2018

The answer is documented here

0 votes
Einar Pehrson
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 30, 2018

Hi @Matthias Küspert, please repost this question on the Atlassian Developer Community, ideally under the Atlassian Developer Tools category and with the tag "ac-spring-boot".

If you could provide more detailed information there about you authenticate the form submission request back to your add-on, I or someone else will try to help you from there.

Suggest an answer

Log in or Sign up to answer