July 2019
Beginner to intermediate
302 pages
9h 38m
English
The following screenshot shows what the CSRF token added by WTForms in our form looks like:

The token is completely random and different for all the requests. There are multiple ways of implementing CSRF token generation, but this is beyond the scope of this book, although I encourage users to take a look at some implementations to understand how it's done.