Add authorisation headers in scriptrunner rest endpoint

zerobarat1 October 8, 2019

So I have pretty peculiar setup on my hands. I am using JIRA REST endpoint as a JWT to authenticate with a custom made front-end.

I was wondering if it's possible to add the authentication header in the request headers so that the client requesting the token from the rest endpoint does not have to be logged in to JIRA.

I scoured about professor google for some answers and tried a couple of things, but nothing worked out. 

Any help on this would be so nice!

 

FYI I tried with Httpbuilder to add my request headers, however, I can't get the dependency for it, so if you have an alternative for HTTPbuilder it would be very nice.

0 answers

Suggest an answer

Log in or Sign up to answer