In the atlassian-connect-express (ACE) framework, there is a special context parameter that is used to facilitate authenticated calls from the add-on iframe back to the add-on service:
token
: the token that can be used to authenticate calls from the iframe back to the add-on service.
Is there anything similar in the atlassian-connect-spring-boot framework?
I have an action in my add-on iframe that needs to call back to the add-on service, and ultimately make REST calls on the Atlassian instance. I haven't been able to determine how to pass the user context back to the service endpoint with the new Spring Boot framework.
Community moderators have prevented the ability to post new answers.
Update :
This feature was included in atlassian-connect-spring-boot 1.2.0, released on .
See the section Authenticating requests from iframe content back to the add-on of the README for details.
Original answer:
Hi, @Eric!
atlassian-connect-spring-boot does not yet have this feature, but we do plan to add it, see https://ecosystem.atlassian.net/browse/ACSPRING-8.
In the meantime, would it be possible for you to use our JavaScript API to make this request to the REST API?
Thanks Einar, unfortunately I can't use the JavaScript API in this case since I need to do some processing in our service and make an outbound REST call via one of our server libraries.
Also I am unable to see the details of the issue you have posted, I see this instead:Screen Shot 2016-06-17 at 4.53.22 PM.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, the JIRA project was misconfigured. You should be able to access and watch the issue now.
I'll try to get this work prioritized soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What changes are necessary to my settings.xml to get spring-boot-starter-web and atlassian-connect-spring-boot-starter dependencies added to my pom.xml to resolve?
I've checked both the Atlassian public repository and the local sdk repositories and neither have either of those groups/artifacts. No setup instructions tell which repositories to register.
Trying to follow instructions here:
https://bitbucket.org/atlassian/atlassian-connect-spring-boot
But cannot get past compile.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Steven Kling, all Spring Boot artefacts as well as atlassian-connect-spring-boot-starter are published to Maven Central. You should not need to modify your Maven settings.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi everyone,
Yes, this feature is a highly demanded. Could you please consider to change the priority of this feature?
Thanks,
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Alex. This feature already has very high priority. I see you also commented on https://ecosystem.atlassian.net/browse/ACSPRING-8 and watched that issue. Stay tuned there for updates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.