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?