Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Currently we are using JWT Proxy workflow with section access. We use qlik mashup api's to load the qlik app.
We would like to continue to do so, but the current issue we are facing is socket's disconnection while relaying the requests. We would like to remove our backend so that it can directly connect to qlik.
Is this something possible with M2M? I could not find any examples for M2M with mashup api's. We cannot use qlik embed since we would need to we-write the application itself.
@Jeffrey_Goldberg Could you provide any input on this? as you suggested the initial approach for proxy when there M2M impersonation was not available?
Thanks,
Akshay
Hey @AkshayBheda you cannot use M2M direcly from a web app (client). You have to create a backend service which make the M2M request on behalf of user, then pass the OAuth token to the webapp for using it and impersonate the user in the browser session. Here an example of this process.
@alex_colombo we do have the .Net backend and we have angular frontend. We use qlik mashup api's. I could see how its used with qlik embed, but i couldn't see any thing with qlik mashup and M2M Oauth with user impersonation
M2M OAuth impersonation is available with qlik-embed. It is not available with existing capability API. We will have some tutorials and examples for migrating from capability API to qlik-embed showing up on https://qlik.dev soon.
Thanks, that would help. We are interested to move to qlik embed but the thing limits us is selection of individual elements which is possible in capability API.
Hey, just wanted to check if selecting single elements is not possible with qlik embed, and also with M2M impersonation, can we also create users if they don't exist?
@AkshayBheda what do you mean by selecting single elements? Embedding single visualization using qlik-embed? If so, yes it is possible.
@alex_colombo This will work if the user has already a account, but when user log's in for the first time this workflow won't create the user.
I believe @Jeffrey_Goldberg knows the workflow I am talking about
That's correct, M2M impersonation will not create users. For creating users you can use users APIs along with Groups API (groups are released yesterday and creating them manually will not support section access) or JWT authentication. I recommend to use JWT at the moment, waiting for full support from Groups API.