bmservices Posted February 2, 2018 Share Posted February 2, 2018 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.pdfSending 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 Link to comment Share on other sites More sharing options...
ezrajohnson16 Posted August 20, 2021 Share Posted August 20, 2021 Got any resolution? Link to comment Share on other sites More sharing options...
jeanpierrepolnareff91 Posted September 3, 2021 Share Posted September 3, 2021 Same problem here, have you find something ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now