Quasar ssr unique token

  • Hello, I am new to quasar framework so i am sorry if i post a silly question.
    I have a frontend application in vue (quasar) with ssr and pwa take over and a php api backend.
    I want to generate a unique token in frontend using ssr prefrech method. I don’t understand if prefech method will be available in cliend side (javascript code).
    What i want is a javascript code to run only in server side and use a crypto algorithm to generate a token and decrypt in php api backend. It is possible with quasar to do that?

    Thank you. I also have jwt token implementation, but i wanna use this token generated in quasar ssr for public api protection.

Log in to reply