Get a cookie of a parent domain



  • Hi everyone

    My original site: “sitedomain.com”, it setted a jwttoken cookie.
    I created a pwa with quasar in “m.sitedomain.com” and try to login using that cookie:

    var loginToken = Cookies.get(‘jwttoken’)
    But this cookie is null.

    I ran it:
    console.log('ALL: ')
    console.log(Cookies.getAll())

    and I found other cookies but not the jwttoken cookie setted with the system in the oparent domain

    I enter in the toolbar of chrome and I can see the cookie setted

    Thanks and regards


Log in to reply