I have successfully integrated the Jasper server from our application using token-based authentication. Here I am using angularJS to construct the token and calling window.open(url) to open the jasper server in a new tab.
Now my requirement is if I Logout from my application, I want to automatically Logout from the Jasper server also. Is there any way to achieve this?
This can be accomplished using the REST API for Jaspersoft Server. The logout event/click in your embedding application can issue a logout call to Jaspersoft Server using the Authentication Service.
Please see the authentication chapter in the following REST API Guide for Jaspersoft Server 7.8. The logout call is documented there. This logout call will require re-using or passing the JSESSIONID that is issued upon a successful login for the user.