Hi,
I have an Event Listener that triggers a PUT REST API to one of the installed plugins. Here, I need to access the 'JSESSIONID' cookie from the request and pass it on as part of Headers for Authorisation.
First thing I don't get is, if the event is being triggered from Confluence Application and calling an internal REST API, why would we need an Authorisation at all.
Well, as we need it, I am not able to get hold of the request in the Event Listener as it accepts only one parameter (Actual Event) and ServletActionContext.getRequest() returns null.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.