Token Based Authentication - Logout feature


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 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?

kamala.prashanth's picture
Joined: Nov 18 2021 - 8:26am
Last seen: 20 hours 11 min ago

1 Answer:


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.

jabrown's picture
Joined: Sep 3 2017 - 10:08pm
Last seen: 2 weeks 1 hour ago