Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
JWT authentication in WebEngineView
audunls last edited by
I am working on a project where I want to embed elements from a website in a QML application inside the WebEngineView-object.
Our webapp uses JSONWebTokens for authentication, which is stored in the browser / localStorage along with the userId.
We already use the API in our webapp for sending / recieving data using JSON to our cloud services, and to access the API we log in using a XmlHtttpRequest. This request returns userId and token, which in turn is stored in the QML application.