Save discount as a shop metafield in Node.js React app

Hi @jojo_1 , thanks for posting your solution. I have two questions.

  1. How does the access token get into your cookies?
  2. Is it safe to have the access token available in the cookies like that?

Thanks,