Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
DennisNorton
Partner - Contributor III
Partner - Contributor III

NPrinting API w/ Qlik Sense Web Portal (Single Sign-on?)

This is more a question about NPrinting API / SSO authentication. Currently, users login to view Qlik Sense reports via mashup using web ticketing authentication, and this all works great.

However, when we want to call the NPrinting API, it prompts the user to authenticate to NPrinting via Windows Authentication dialogue box. The line of code for this call is such:

$.ajax({
url: 'http://example.com:port/api/v1/login/ntlm',
xhrFields: {
withCredentials: true

Is there some way to 'pass' the authentication through to nprinting automatically without prompting users to login a second time? Ideally, since users are already logged in to the web portal, I imagined some method to pass those credentials through to the same login name on the NPrinting server.

1 Reply
Ruggero_Piccoli
Support
Support

Hi,

Qlik NPrinting supports JWT https://help.qlik.com/en-US/nprinting/September2018/Content/NPrinting/DeployingQVNprinting/JWT-authe... but I don't know if Qlik Sense can work as Identity Provider and send a JWT with the APIs call.

Best Regards,

Ruggero

---------------------------------------------

When applicable please mark the appropriate replies as CORRECT https://community.qlik.com/docs/DOC-14806. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.