You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be no way to use an existing accessToken for authentication in here.
When you have a javascript backend this is no problem, however this package becomes useless if you don't.
I don't think it would take much effort to implement, i assume it just needs to skip the initial authentication process used to get the access token since that's already done.
Context where this is needed:
I'm working on a narrowcasting application where organizations can setup playlists with content (like Qlik sheets) to be displayed on screens. The authentication is done in our php backend via M2M oAuth. We have a Vue.js frontend.
Now if i want to get a list of sheets to select i have to use qlik-embed which is a bit odd for this. It already requires a sheet to be set before fetching sheets.
The text was updated successfully, but these errors were encountered:
@Vinciepincie , you should not use M2M for front-end applications. You can use OAuth impersonation and use the backend to acquire a frontend access token you can then store in session storage or temporarily.
If you're looking to get a sheet list, you can use qlik-api or qlik-embed to get it, just make sure you're referencing the access token via function.
A combination of these two should get what you want. Then you can add qlik-embed using the same access token (or a new one for the same user) and access the dom to change sheets.
There seems to be no way to use an existing accessToken for authentication in here.
When you have a javascript backend this is no problem, however this package becomes useless if you don't.
I don't think it would take much effort to implement, i assume it just needs to skip the initial authentication process used to get the access token since that's already done.
Context where this is needed:
I'm working on a narrowcasting application where organizations can setup playlists with content (like Qlik sheets) to be displayed on screens. The authentication is done in our php backend via M2M oAuth. We have a Vue.js frontend.
Now if i want to get a list of sheets to select i have to use qlik-embed which is a bit odd for this. It already requires a sheet to be set before fetching sheets.
The text was updated successfully, but these errors were encountered: