Auth0 for Quasar Cordova App ?



  • Hi, i need to add auth0 to cordova App. I’m follow the official tutorial for cordova, but my problem is that my app is build from Quasar Framework, who wrap the www folder of cordova with the src folder of the Vue/Quasar project files. So there is no proper way to reference a index.js and App.js that the tutorial refers.





  • Hi! thanks for response. I tried bootfile with no luck.

    This is the code of one of files:

    var Auth0Cordova = require(’@auth0/cordova’);
    var App = require(’./App’);

    function main() {
    var app = new App();
    function intentHandler(url) {
    Auth0Cordova.onRedirectUri(url);
    }
    window.handleOpenURL = intentHandler;
    app.run(’#app’);
    }
    document.addEventListener(‘deviceready’, main);

    And the errors of console:
    [Quasar] boot error: TypeError: Cannot read property ‘bind’ of undefined
    Failed to load resource: net::ERR_CONNECTION_REFUSED
    [WDS] Disconnected!


Log in to reply