Basic Auth not working, but Auth via Bearer Token

0

Hi together,

I'm working with REST API on a jasper which was not setup by me. It seems to be configured to work with authentication with bearer token, but not with basic auth.

I want to to do a get REQUEST ON:

https://<SERVER>/jasperserver/rest_v2/reports/Reports/VK/DF/SP/reporting/AVBAll.pdf

Sending a header like "Authorization: Bearer ..." works perfectly fine.

Sending a header like "Authorization: Basic " . base64_encode("<user>:<pass>") ends in a 401 error.

I'm sure that user and pass are correct. I can login with these credentials into the web interface of the jasper server.

Trying to to it via browser:
https://<SERVER>/jasperserver/rest_v2/reports/Reports/VK/DF/SP/reporting/AVBAll.pdf

=> Popup for Crendentials. When I enter the correct ones, the popup comes again. Authentication failed.

 

So it seems that basic authentication is disabled on the jasper server. How can I enable it again?

Thanks for tips, Bernd

 

 

 

 

 

 

bmservices's picture
Joined: Nov 3 2017 - 7:37am
Last seen: 1 year 2 months ago

0 Answers:

No answers yet
Feedback
randomness