Based on this answer https://stackoverflow.com/a/20087071, I understood the way communication between server and client is supposed to happen. However, I am trying to understand how do I generate those tokens in the first place in order to give it to client so that client can later use that token for authentication ?
Edit: I am planning to develop on Flask framework.