Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
marco_puccetti
Partner - Creator
Partner - Creator

Qlksense extensions Authentication

Hello i need to let auto-authenticate users in order to access to a mashup application on a qliksense server, is it possible using any available API?

I can't find usefull example!!

Thanks

Marco

1 Solution

Accepted Solutions
Fredrik_Lautrup
Employee
Employee

If I would do this setup I would

  1. On a virtual proxy I would choose the option "Always anonymous" under the authentication tab.
  2. You need to add your web server name to the "Web socket origin white list"
  3. I would create a login access rule that grants only anonymous users access tokens from this pool. I think your rule should work but there are other ways to detect anonymous users that you could test. All anonymous users belong to the userDirectory=NONE so a rule like user.userDirectory="NONE" or a rule like user.userID like "anonymous*" should also do the trick.
  4. In the development of the mashup make sure you use the virtual proxy in the links

From reading the thread it looks like this is the setup you are aiming for? is this correct?

Is your mashup based on iframes or div tag integration?

View solution in original post

14 Replies
marco_puccetti
Partner - Creator
Partner - Creator
Author

I have tried to disable the windows authentication accessing the menu showed below:

Immagine6.png

But when i open the application i get this error: NoAvailableAccessType

What can i do to avoid this request during the first access to the application?

Thanks

Marco

marco_puccetti
Partner - Creator
Partner - Creator
Author

I have created a rule in the login access rule section as reported below:

Login_access_rules.png

but when i access the application i get this error: NoAvailableAccessType.

Have i to adjust any settings?

Thanks

Marco

marco_puccetti
Partner - Creator
Partner - Creator
Author

Hello i explain better my question, i have installed on an server a mashup application and i need to reach it from an external machine.

As written above i have configured the proxy to allow anonimous access, and trying to access locally it works, but if i try to reach it from an external machine i need to insert the remote machine credential.

Is it possible to avoid this?

Using specific API or similar?

FromIframe.png

NoIframe.png

Thanks

Marco

marco_puccetti
Partner - Creator
Partner - Creator
Author

I still have this error

Immagine7.png

Although i have also configured the proxy white list in order to allow the external machines to access the qliksense application (in this case the win-3a5sokhjrtn😞

Immagine8.png

Anyone can answare my question?

Thanks

Marco

marco_puccetti
Partner - Creator
Partner - Creator
Author

I have read the Authentication API: Authentication API ‒ Qlik Sense, but i have not well understood the mechanism that i have to use to integrate the authentication process in my ASP.Net application pages, in order to send the credential directly to the qlik server authentication module and avoid the https windows uthentication login window,  if is it possible.

Thanks

Marco

Not applicable

marco_puccetti
Partner - Creator
Partner - Creator
Author

I have made further tests and get this error in the log file "Server_Reository.txt":

3152.1.1.020160303T154142.508+0100ERRORqlik-test8f25aa4e-67c4-4830-ab64-f7a2a864e9efCommand=License user access;Result=403;ResultText=Error: Access deniedac2177e6-88a0-4e84-9be9-9369218d3dad8a2ce938-a9ce-4b04-be92-d5135379e7fb0NONEanonymous2b551027-cd23-4a89-ace9-051c28aaa4190Not availableRepositoryAppAccess/qrs/requestaccesstypeLicense user access403Login access denied for SessionID: 'ac2177e6-88a0-4e84-9be9-9369218d3dad', Hostname: "172.16.11.106", OperationType: 'UsageDenied'8f25aa4e-67c4-4830-ab64-f7a2a864e9ef

    

Perhaps it depends on this elements to be reallocated but how can i do this?

licence_user_allocation.png

Thanks

Marco

Michael_Tarallo
Employee
Employee

Hello Marco, adding an some eyes to this.

swr‌ - can you take a look at this discussion?

Thanks

Mike T

Qlik

Regards,
Mike Tarallo
Qlik
Stefan_Walther
Employee
Employee

Yep, take it, have to double-check and will come back with an answer resp. asked colleagues in R&D to come back to you.

Regards

Stefan