Here is the modified project with the correct code.
BookshelfWithTokens.zip (10.7 KB)
However, I see that you have added units and components from TMS Sparkle and TMS XData. If you do have licenses for those products, I strongly recommend to get rid of Web Broker at all and use GraphQL with TMS Sparkle. There is a demo for that, although it uses the Hello schema. But you can simply modify it to use the Bookshelf schema - of course you will have to do that to use your own real schema.
Using TMS Sparkle is way easier, and then all you need to do is to add a JWT middleware to the server - indeed, then all the documentation for Sparkle about JWT applies. For Web Broker, that is not true and you will have to do it yourself (like I did for you in the example).