Rinse and drain your tofu, then press using a tofu press or wrap in paper towels and place heavy books or pan on top. Let drain for at least 10-15 minutes, this will help the marinade be absorbed.
Whisk together the ingredients for the spicy sauce.
Cut the tofu into triangles and place in a single layer on a oiled baking sheet. Drizzle with 1/3 of the the spicy sauce then bake for 12 minutes.
Flip tofu and drizzle with half of the remaining sauce. Add the green beans to the other side of the pan in a single layer, as possible. Drizzle with remaining sauce and sprinkle with salt and pepper.
Return back to the oven and bake until tofu is browned and slightly crispy, about 12-15 minutes.
Sprinkle with remaining sesame seeds, if desired, and serve.