Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Auth Webhook

gia01020304 February 18, 2019

When change status issue i trigger a webhook call jira rest plugin . In my api  i use httpservletrequest to get cookie JSESSIONID for auth client jersey but i check in httpservletrequest webhook send  not hava cookie. How do I get auth when using webhook?

1 answer

1 accepted

0 votes
Answer accepted
gia01020304 February 25, 2019

I had resolved my problem by:

The first analysis body request of webhook send to server

  • Get info user=>get ApplicationUser
  • setLoggedInUser(applicationUser);

After that I use TrustedRequest to  send the  api request on the system itself

Suggest an answer

Log in or Sign up to answer